I got a working xdebug on my suse linux 11.1 64 bit
with netbeans dev/6.8 beta.
But I have a problem trying to use a xdebug proxy in my PHP project.
I downloaded from:
I unpack it and run in the bin directory the file:
On the console I get the message:
INFO: dbgp.proxy: starting proxy listeners. appid: 25000
INFO: dbgp.proxy: dbgp listener on 127.0.0.1:9000
INFO: dbgp.proxy: IDE listener on 127.0.0.1:9001
If I try now to debug with my netbeans I get a error dialog:
"Port 9.000 is already occupied. Configure IDE to use another port?"
I have configured:
In my php project-properties->Run-Configuration->Advanced
I have set:
Port:9001 (the default)
In my opinion Netbeans seems to do something wrong:
If the port 9000 is occupied and if I have a debug proxy
configured it should try to use the proxy.
In the case of a proxy, it obvious that the port will be
already opened by the proxy :-(
The problem is that the Netbeans options are confusing:
- you must change in the netbeans options
(which is netbeans wide)
the xdebug port from 9000 to lets say 9001
(as long as its not 9000 or 9001 which will be used by the proxy)
- you must set an ip in the *project* telling where the proxy is.
If you switch between:
1. using a proxy for debugging on a remote server
2. not using a proxy to debug you local server
you end up changing the options continuously
There should be a switch somewhere 'use proxy'