I have managed to initiate php-cli script debug session from the IDE itself, but I need to start the debugging session from the shell / command line. These are rather complex ma
Make sure you also setup DBGP_IDEKEY value, because usually it is not idekey. For example on Linux:
export DBGP_IDEKEY="netbeans-xdebug" export XDEBUG_CONFIG="netbeans-xdebug=netbeans-xdebug"