composer/xdebug-handler
Restart PHP CLI processes without loading Xdebug (unless xdebug.mode=off), avoiding slowdowns in tools like Composer. Creates a temporary ini with Xdebug commented out and relaunches the command, with env vars to allow Xdebug or inspect original ini paths.
isXdebugActive before class instantiation.xdebug_info('mode') in Xdebug 3.1.
$colorOption constructor param and passthru fallback.requiresRestart param from $isLoaded to $default.restart param $command from a string to an array.xdebug.mode=off.isXdebugActive() method to determine if Xdebug is still running in the restart.proc_open an array of arguments.proc_open has been disabled in disable_functions.
proc_open when available for correct FD forwarding to the restarted process.NO_COLOR environment variable: https://no-color.org
$_ENV if it is being used.passthru has been disabled in disable_functions.
setPersistent method to use environment variables for the restart.
php_ini_scanned_files is not functional and is needed.apc.mmap_file_mask.XDEBUG_HANDLER_DEBUG.
PhpConfig helper class for calling PHP sub-processes.PHPRC original value to restart stettings, for use in a restarted process.-n command-line option.escapeshellarg usage to avoid locale problems.getRestartSettings method for calling PHP processes in a restarted process.
requiresRestart method for extending classes.setMainScript method for applications that change the working directory.tmpIni variable to protected for extending classes.Composer\XdebugHandler -> Composer\XdebugHandler\XdebugHandlerHow can I help you explore Laravel packages today?