Hi Tom,
Thanks for your response. I found the problem. I had
xdebug.start_with_request = yes
in the INI file. Misinterpreted the documentation. User error :)
On 2021-06-17 16:49, Tomáš Procházka wrote:
Hi Alan,
I tried debugging on my computer and it works with PHP 8.0.7 and
Xdebug 3.0.4.
Check your NetBeans configuration for debugger port (Options > PHP >
Debugging). It should be set to 9003 (default port for Xdebug 3).
Here is my configuration of Xdebug:
xdebug.mode=debug
xdebug.client_host=localhost
xdebug.remote_port=9003
xdebug.idekey="netbeans-xdebug"
Hope this will help.
Regards,
Tom
On 17. 06. 21 18:53, Alan wrote:
Not sure if this is a bug or a [cough] user error.
Is Netbeans 12.4 passing XDEBUG_MODE through in the environment when
starting up PHP CLI?
If I set xdebug.mode to off or develop, the debugger won't start when
debugging a file or project.
If I set it to debug, it the debugger starts when running or
debugging. When running, I get multiple messages of the form
Xdebug: [Step Debug] Time-out connecting to debugging client, waited:
200 ms. Tried: 127.0.0.1:9003 (through
xdebug.client_host/xdebug.client_port) :-(
All those 200ms delays are killing unit test performance.
Haven't tried it yet, but I kind of expect code coverage to break too.
I've gone through the setup several times and can't find anything to
address this, short of editing php.ini whenever I want to switch.
--
For Apache Netbeans Users List
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
--
For Apache Netbeans Users List
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists