Closed zebba closed 5 months ago
Hello @zebba.
Traefik does not forward your original IP to the container. Container's XDebug tries to connect to Traefik's IP instead of your's.
For the container to work correctly, you must use the http
Traefik proxying.
More information about this issue: https://community.traefik.io/t/tcp-service-forward-original-ip/17547
Thanks @7-zete-7 for your help with this issue
Hey there!
I'm trying to get xdebug running but failed so far.
My general setup is running Traefik in a rootless Docker setup for development.
I've configured Phpstorm according to
docs/xdebug.md
and used the xdebug browser plugin to send the IDE_KEY but was not able to receive any requests in Phpstorm.I also ran the
Run > Web Server Debug Validation
in Phpstorm prompting these warnings:XDEBUG_MODE=debug docker compose up -d php
.Pinging of
host.docker.internal
from inside thephp
container returns data.What am I missing?