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.

0
2 comments

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

0

Please sign in to leave a comment.