diegovarussa
4/21/2015 - 6:31 PM

Debug with Xdebug on the Commandline with Phpstorm and Git Bash

Debug with Xdebug on the Commandline with Phpstorm and Git Bash

#Enable Phpstorm Xdebug listening:
$ export XDEBUG_CONFIG="idekey=PHPSTORM"
#Press the listen button inside Phpstorm to actually listen:

#To disable Phpstorm Xdebug processing in Bash again:
$ unset XDEBUG_CONFIG
#This (PHPSTORM) is the default Phpstorm IDE-Key. You don’t need to disable listening after the variable is unset.