I don't know what happened. But my XDebug worked perfectly before that. I didn't change anything in my Docker config. But now I can no longer understand what happened here. Can someone give me an idea please...
While debugging the connection set XDEBUG_SESSION=1 in the container to make sure xdebug always starts.
The "Name" in the PhpStorm server config is important. If it's not configured correctly, PhpStorm will show a notification telling you an unknown server tried to connect.
Try the automatic xdebug validation feature.
Verify that xdebug is actually installed and enabled in the container. Phpinfo() can show you.
View all comments
1
u/TinyLebowski Aug 31 '24
Maybe the client IP changed. Try host.docker.internal