This repository has been archived by the owner on Jun 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 327
How to debug using Xdebug #38
Comments
It's been a long time since I've last used Xdebug so I'm afraid I don't have anything to add. I do remember it working smoothly when used with PhpStorm. |
same question,is anybody success? |
I don't have them anymore I'm afraid. |
Don't use 9000 port.
http://jamescowie.me/blog/2016/12/all-hail-xdebug-and-lets-let-var-dump-die/ |
Cheers! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I ran into the following issue which I have resoved, but not in a satisfactory way.
I use Netbeans to start the debug client on port 9000. But since port 9000 is used by the docker-proxy process there's no way to have the xdebug to connect to my Netbeans debug client. How can I get xdebug to connect to my debugger client? It seems to me that IF you bind the host port 9000 to the container port 9000 there's no way to listen for the xdebug server "connect back".
I resolved the issue in the end by using net : "host" in the docker-compose file. This also requires me to drop the 'links' section which is pretty ugly imho.
Greetz,
Sander
The text was updated successfully, but these errors were encountered: