Enable/disable debugging your PHP scripts with Xdebug easily
Little Insomnia plugin that easily allows you to enable Xdebug debugging by adding an XDEBUG_SESSION cookie to the request.
To enable, simply check the Xdebug checkbox...
Uncheck to disable.
The XDEBUG_SESSION's value has been set to Insomnia... This can easily be edited in ./src/plugin.js.
Most modern IDEs will accept any incoming connection on port 9000 (or another if configured otherwise) regardless of the value of the XDEBUG_SESSION.
Issues and suggestions can be submitted here:
For any info about Insomnia, check out the website:
For Xdebug install, setup & configuration, check out the website:
Some tools to debug:
- PHPStorm:
- Netbeans:
- Eclipse (and Zend Studio):
- Pugdebug: