#Path Mappings for PHPStorm and Laravel Xdebug
7 messages · Page 1 of 1 (latest)
Can't help you without knowing your environment. But like the notification says, go to the Servers settings and look at the path mappings for the server called 0.0.0.0
You only need to map the project root folder on you host machine to the project folder in the server. It's usually /var/www/html but it depends on how the server is set up.
I am on a WSL/docker setup on windows. That's exactly how I have it too. I mapped my project root to /var/ww/html 😐
Will give it another try. Thank you @normal star
I don't remember if it's necessary in order to debug, but you should also set the default PHP interpreter (PHP settings) to your Docker container.
Thanks for pointing me the right direction! I had all of that setup except for adding my project root to the compiler settings