View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001780 | Xdebug | Step Debugging | public | 2020-04-28 23:54 | 2020-04-29 13:27 |
| Reporter | Tom Yeager | Assigned To | |||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Product Version | 2.9.5 | ||||
| Summary | 0001780: PHP / Netbeans works fine but unable to start a debugging session | ||||
| Description | Waiting for Connection - Never Connects | ||||
| Steps To Reproduce | Initial installation. | ||||
| Additional Information | Using 9001 instead of 9000 to avoid fastCGI. Set 9001 in three places. | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows 10 | ||||
| PHP Version | 7.4.0-7.4.4 | ||||
|
|
Hi, I am not sure why you're using a proxy to begin with here. When you say "Netbeans sends proxyinit -p 9001 -k netbeans -xdebug -m0", that's fine, but in normal cases, Xdebug needs to initiate the connection to Netbeans. Unless you have a complex set-up, you don't need a proxy. I think what is happening is that Netbeans is in listening mode, and then it connects to itself because you have a proxy configured. Don't use the proxy, and instead let Xdebug connect to Netbeans (on port 9001). You'll likely get no log file, because you didn't configure an absolute path for xdebug.remote_log. Make it c:\tmp\xdebug.log (and make sure the webserver/xdebug can write there), and that should work. As this is not a bug (but rather a support query), I'll close this report. For support, please send your inquires to https://stackoverflow.com/questions/tagged/xdebug (or have a look at https://xdebug.org/support). cheers, |