Remote xdebug is connecting but not working


I'm trying to get the PhpStorm working with xdebug remotelly (Docker).

I've already achieved it with other projects but there's one that's kidding me.

There's no connection problems (the PhpStorm detects the incoming requests).

Seems there's no path mapping problems (the PhpStorm does not complain neither warns and I'm doing it as I'm used to).

There's no errors in xdebug remote logs and everything looks good there.

And given an incoming request, it breaks at first line but when I try to go to the next line, it does nothing (both, no stopping at breakpoints, no ending the execution). If I wait until something happens, I get the following error message in PHPStorm:
Cannot accept external Xdebug connection: Cannot evaluate expression 'isset($_SERVER['PHP_IDE_CONFIG']).

I've tried all the solutions found but no one is working. I've also tried to set the same xdebug configuration as projects where everything is working but it still not working.

Any idea?

Thank you very much!!!

1 comment
Comment actions Permalink

And given an incoming request, it breaks at first line


Please sign in to leave a comment.