Skip to content

Commit 60bc871

Browse files
author
Alexandru Florea
committed
debug: Add option debug output in ObfuscateCommand
1 parent a2526d7 commit 60bc871

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Console/Commands/ObfuscateCommand.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ public function handle(): int
8484
'enable_backup' => $this->option('backup') ?? false,
8585
'production_ready' => $this->option('production-ready') ?? false,
8686
];
87+
88+
// Debug output
89+
if ($this->option('production-ready')) {
90+
$this->info('✓ Production-ready mode is ENABLED');
91+
$this->info('Options array: ' . json_encode($options));
92+
}
8793

8894
// Override source paths if provided
8995
if ($this->option('source')) {

0 commit comments

Comments
 (0)