Triggering xdebug from PHPStorm's REST client
If you want to trigger and xdebug session from PHPStorm’s REST client (or anywhere else for that matter), you can set the debug cookie manually. Add a new Request header:
- Name:
Cookie
- Value:
XDEBUG_SESSION=PHPSTORM
The value to use for XDEBUG_SESSION
can be set in php.ini under xdebug.idekey