diff --git a/src/Cli/StartCommand.php b/src/Cli/StartCommand.php index f18b776..fb29e6f 100644 --- a/src/Cli/StartCommand.php +++ b/src/Cli/StartCommand.php @@ -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]);