Debug console PHP applications with NetBeans
Assuming you already have PHP and NetBeans configured to debug code using XDebug, these are the steps to debug a console PHP application:
In the terminal window export the value of the XDEBUG_SESSION_START
get parameter that…