Reputation: 15922
I'm trying to setup netbeans 7.3 with xdebug 2.2.1 on a Debian wheezy. I'm trying to make it work on a localhost-basis, it is, only one xdebug user connecting from the same machine (the most common configuration). After some hours I have this:
debugclient
included with the Xdebug sources and it works (i.e. when I type in the Chrome address bar http://localhost/file.php?XDEBUG_SESSION_START=netbeans-xdebug
the debugclient
receives a XML response and I can interact with it sending the appropiate commands.debugclient
and ST2 plugin
) send XML formatted requests, netbeans
receives a weird proxyinit -p 9000 -k netbeans-xdebug -m 0
string. Proxyinit seems to be an informative request in order to setup multiuser system (but I only need a user).This is the capture when using debugclient
and that's the same when using netbeans
I'm a bit confused because it is supposed that the XML message is sent by xdebug agnostically, it is, without any information about who is waiting to receive this message...
So the question is: why netbeans or xdebug (I don't know who) is trying to connect to a debug proxy?
Upvotes: 1
Views: 788
Reputation: 15922
The problem is that Netbeans is configuring the projects by default as a remote project. To disable this, you have to go to project properties / Run configuration / Advanced and here you have to remove Debugger Proxy: Host and Port. Click Ok and everything will work as expected.
Upvotes: 2