src/Console/Util/PhpProcess.php
public function start(callable $callback = null, array $env = null): void
    {
        $phpConfig = new PhpConfig();

        $phpConfig->useOriginal();
        parent::start($callback, $env ?? []);
        $phpConfig->usePersistent();
    }
public function start(callable $callback = null, array $env = null): void
    {
        $phpConfig = new PhpConfig();

        $phpConfig->useOriginal();
        parent::start($callback, $env ?? []);
        $phpConfig->usePersistent();
    }
public function start ( callable $ callback = null , array $ env = null ) : void { $ phpConfig = new PhpConfig ( ) ; $ phpConfig -> useOriginal ( ) ; parent :: start ( $ callback , $ env ?? [ ] ) ; $ phpConfig -> usePersistent ( ) ; }
Runs a PHP process with xdebug loaded

If xdebug was loaded in the main process, it will have been restarted
without xdebug and configured to keep xdebug out of PHP sub-processes.

This method allows a sub-process to run with xdebug enabled (if it was
originally loaded), then restores the xdebug-free environment.

This means that we can use xdebug when it is required and not have to
worry about it for the bulk of other processes, which do not need it and
work better without it.

{@inheritdoc}
Runs a PHP process with xdebug loaded