How do you setup a multi-developer XDebug PHP environment?
I have the following setup:
From the log information from the proxy it says that there is no server with the key "ECLIPSE_DBGP" and it stops the request.
Has anybody run into this or has a step by step setup to get this to work?
I have exhausted what I have found using google.
You can use ssh to tunnel the debug-connection back to your client machine. Eg. from your client machine, connect to the server with something like:
ssh -R 9000:localhost:9000 [email protected]
Then fire up your (local) debugger, and start the remote script. Xdebug (at the server) will now establish a connection to its localhost:9000
, but since this port is forwarded back to your local machine, your (local) debugger will receive the connection.
If you use Windows on your client side, you can do the same thing with PuTTY.
See the documentation for Spectator for some more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With