Debugging web apps with XDebug is awesome, but what happens when you hit the shell?

Turns out you can debug these insane shell scripts, yup.

Copy some php.ini lines, add to your bash

export XDEBUG_CONFIG="idekey=netbeans-xdebug"

Cf. http://stackoverflow.com/questions/2944880/debugging-php-cli-scripts-with-xdebug-and-netbeans

Categories: Uncategorized

Comments are closed.