Phpstorm server mappings with WordPress xdebug and vagrant


my dev environment consists of a vagrant box with a shared /projects folder on my local machine, and I develop WordPress sites
I have xdebug 2.2.3 which connects fine but has a strange behavior.

when I use zero config debugging, then I get prompted to select a file to debug, basically a list of all index.php files found in my project.
breakpoints don't work though. If I check the option to stop on first line of code, it does stop but it's not very useful becaues I want to inspect the vriables at the breaakpoint.
Basically I'm not sure how to configure the server folder mapping and make the debugging work properly.



Please sign in to leave a comment.