I’m running the latest Netbeans 8.0.1 I can debug a web-only app with no issues, but when I try to debug a new yiic command I’ve created, I’m not successful.
So, here’s what I’ve done:
I created a new run Config as:
Run As: Script
Index File: protected/yiic.php
Arguments: UpdateMetrics (my new command)
I created "protected/commands/updateMetricsCommand.php (FYI, it makes no difference what’s in the command)
I can run the command by selecting the new Run Config and then Run Project and it works fine. Fully repeatable.
If I set a break-point in the file and then Debug Project, the FIRST time after I restart NetBeans, it runs the command, generating Output in the Output - (debug) window, but does not stop at the break-point and the status line at the bottom shows "Waiting For Connection (netbeans-xdebug)". If I stop the debugging session and retry Debug Project, absolutely NOTHING happens and now the Run Project also does nothing. If I restart Netbeans it seems to reset everything, but the behavior is 100% repeatable.
Thanks in advance,