Quantcast
Channel: Pressed – hakre on wordpress
Viewing all articles
Browse latest Browse all 53

Debug with Xdebug on the Commandline with Phpstorm and Git Bash

$
0
0

Enable Phpstorm Xdebug listening:

$ export XDEBUG_CONFIG="idekey=PHPSTORM"

Press the listen button inside Phpstorm to actually listen:

xdebug-listen-phpstorm

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.

Should work with any other UNIXoide shell as well.

See as well:


Tagged: CLI, Git Bash, PHPStorm, sh, Xdebug

Viewing all articles
Browse latest Browse all 53

Trending Articles