phpstorm can't Xdebug on Docker container inside Vagrant box

I have configured Xdebug3 inside PHP container which is run by docker inside Vagrant.

What's the best way to get Xdebug working in PhpStorm. Since there are 2 communication layers (PC->Vagrant->Docker)

I've just tried for many hours to get my local development system to work properly for debugging purposes.

Comment actions Permalink

First of all, could you please specify what would you like to debug -- a web application or PHP CLI scripts (tests)?


Please sign in to leave a comment.