This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271641 - xdebug always gives "waiting for connection"
Summary: xdebug always gives "waiting for connection"
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P2 normal (vote)
Assignee: Martin Entlicher
URL: http://local.xdebugtest.com (local)
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-14 17:59 UTC by _jared_
Modified: 2017-10-14 17:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (45.91 KB, text/plain)
2017-10-14 17:59 UTC, _jared_
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _jared_ 2017-10-14 17:59:44 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
* Configure xdebug using local server
* Set breakpoint(s)
* Launch debugger
* Open browser with debug target

ACTUAL:
  Waiting For Connection (netbeans-xdebug) spins; breakpoints not hit; browser does not respond

EXPECTED:
  Server executes code and breaks at breakpoint in IDE

NOTES:
I have followed every stack exchange and documentation source I could fine. I do have the exact same xdebug configuration working properly in Eclipse PDT. In reviewing xdebug logs, the connection is made, <INIT> returned, but breakpoints are never sent.

xdebug log:
Log opened at 2017-10-14 17:51:53
I: Checking remote connect back address.
I: Checking header 'HTTP_X_FORWARDED_FOR'.
I: Checking header 'REMOTE_ADDR'.
I: Remote address found, connecting to 127.0.0.1:9001.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/userdata/xdebugtest/index.php" language="PHP" xdebug:language_version="5.6.1-dev" protocol_version="1.0" appid="320" idekey="netbeans-xdebug"><engine version="2.5.4"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2017 by Derick Rethans]]></copyright></init>

~~ NO FURTHER ENTRIES MADE UNTIL I MANUALLY STOP THE DEBUG PROCESS ~~
Comment 1 _jared_ 2017-10-14 17:59:48 UTC
Created attachment 165287 [details]
IDE log