Dave Power created NETBEANS-5205:
------------------------------------

             Summary: xdebug time out errors debugging PHP v8 code
                 Key: NETBEANS-5205
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5205
             Project: NetBeans
          Issue Type: Bug
          Components: php - Debugger
    Affects Versions: 12.2
         Environment: Windows 10 using IIS
xdebug 3.0.1
PHP 8.0
            Reporter: Dave Power


Basically, Netbeans is current unusable for developing and debugging code using 
PHP 8.0.

PHP v8.0 requires xdebug v3.0.1   Following the xdebug configuration 
instructions as follows
{quote}zend_extension = C:\Program 
Files\php\8.0\ext\php_xdebug-3.0.1-8.0-vs16-nts-x86_64.dll
xdebug.mode=debug
xdebug.remote_enable=on
xdebug.remote_host=localhost
{quote}
I am finding that I receive a large number of xdebug timeout errors linked to 
the connection between the IDE and webbrowser.

{quote}[01-Jan-2021 11:31:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:31:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:31:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:31:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:32:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:32:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:32:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:32:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:34:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:34:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:34:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:34:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:36:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:36:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:36:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:36:38 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:38:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:38:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:38:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:38:38 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:40:36 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:40:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:40:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:40:37 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:15 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:15 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:15 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:16 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:32 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:33 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:33 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:33 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:34 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:46 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:46 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:47 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:47 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:45:47 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:46:00 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
[01-Jan-2021 11:46:01 UTC] Xdebug: [Step Debug] Time-out connecting to 
debugging client, waited: 200 ms. Tried: localhost:9003 (through 
xdebug.client_host/xdebug.client_port) :-(
{quote}

It appears to be a state problem as the debugger session runs OK, but if you 
attempt to stop the debugging session from the Netbeans IDE, the communication 
between browser is stopped.  The only workaround I have found is to reset the 
Netbeans workspace IDE.

As per the xdebug 3.0.1 installation instructions, I have change the debug port 
within the Netbeans IDE environment to use port 9003.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to