Registry / utility / composer-xdebug-handler

composer-xdebug-handler

JSON →
library3.0.5phppackagistunverified

Restarts a process without Xdebug.

composer require composer/xdebug-handler
INSTALL
IMPORT
SIG · COMPOSER-XDEBUG-HA
C
composer-xdebug-handler
utilityphpv3.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

XdebugHandler
use Composer\XdebugHandler\XdebugHandler;

Restart the current process without Xdebug loaded.

use Composer\XdebugHandler\XdebugHandler; $xdebug = new XdebugHandler('myapp'); $xdebug->check(); // If Xdebug is loaded, the process will restart without it.
Debug
Known issues
gotchaThe restart may cause issues with persistent resources like database connections.
fix
Reinitialize connections after restart or use a shutdown function.
affects: *
Upgrade
Version history
3.0.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
composer-xdebug-handler — pip install composer-xdebug-handler · libregistry