Closed ghost closed 6 years ago
This is already in README, please see the How can I start a debugging session? section.
If you want to run a start a debugging session from command line, before you run your script, you will need to set the environment variable __XDEBUG_CONFIG__ with the IDE key.
Windows
set XDEBUG_CONFIG="idekey=sublime.xdebug" php myscript.php
UNIX
export XDEBUG_CONFIG="idekey=sublime.xdebug" php myscript.php
Can you add a cli example to the readme?