xdebug-handler

Restart a CLI process without loading the xdebug extension.

MIT License

Downloads
283M
Stars
2.5K
Committers
21

Bot releases are visible (Hide)

xdebug-handler - 1.3.2

Published by johnstevenson over 5 years ago

  • Fixed: exit call being blocked by uopz extension, resulting in application code running twice.
xdebug-handler - 1.3.1

Published by johnstevenson almost 6 years ago

  • Fixed: fail restart if passthru has been disabled in disable_functions.
  • Fixed: fail restart if an ini file cannot be opened, otherwise settings will be missing.
xdebug-handler - 1.3.0

Published by johnstevenson about 6 years ago

  • Added: setPersistent method to use environment variables for the restart.
  • Fixed: improved debugging by writing output to stderr.
  • Fixed: no restart when php_ini_scanned_files is not functional and is needed.
xdebug-handler - 1.2.1

Published by johnstevenson about 6 years ago

  • Fixed: fatal error with apc, when using apc.mmap_file_mask.
xdebug-handler - 1.2.0

Published by johnstevenson about 6 years ago

  • Added: debug information using XDEBUG_HANDLER_DEBUG.
  • Added: fluent interface for setters.
  • Added: PhpConfig helper class for calling PHP sub-processes.
  • Added: PHPRC original value to restart stettings, for use in a restarted process.
  • Changed: internal procedure to disable ini-scanning, using -n command-line option.
  • Fixed: replaced escapeshellarg usage to avoid locale problems.
  • Fixed: improved color-option handling to respect double-dash delimiter.
  • Fixed: color-option handling regression from main script changes.
  • Fixed: improved handling when checking main script.
  • Fixed: handling for standard input, that never actually did anything.
  • Fixed: fatal error when ctype extension is not available.
xdebug-handler - 1.1.0

Published by johnstevenson over 6 years ago

  • Added: getRestartSettings method for calling PHP processes in a restart process.
  • Added: API definition and @ internal class annotations.
  • Added: protected requiresRestart method for extending classes.
  • Added: setMainScript method for applications that change the working directory.
  • Changed: private tmpIni variable to protected for extending classes.
  • Fixed: environment variables not available in $_SERVER when restored in the restart.
  • Fixed: relative path problems caused by Phar::interceptFileFuncs - composer/xdebug-handler#46.
  • Fixed: incorrect handling when script file cannot be found.
xdebug-handler - 1.0.0

Published by johnstevenson over 6 years ago

  • Added: PSR3 logging for optional status output
  • Added: Existing ini settings are merged to catch command-line overrides
  • Added: Code, tests and other artefacts to decouple from Composer
  • Break: the following class was renamed:
    • Composer\XdebugHandler -> Composer\XdebugHandler\XdebugHandler