Skip to content

Commit

Permalink
Set up debugging properly (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b authored Jul 24, 2022
1 parent 2b3513f commit 6eec4cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cli/StartCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function run(ArgumentValueList $arguments = null):void {

if($arguments->contains("debug")) {
array_push($cmd, "-dzend_extension=xdebug.so");
array_push($cmd, "-dxdebug.mode=debug,profile");
}

array_push($cmd, ...["-S", "$bind:$port", "-t", $docRoot, $goPath]);
Expand Down

0 comments on commit 6eec4cf

Please sign in to comment.