I am develping a wordpress theme. I'd like to use Xdebug for debugging purposes but can't seem to get it to work.
Here's my setup:
In the main folder of my PHPStorm project I have two folders:
here are my development files including non-minified versions
this folder is the theme folder that is generated from the build folder
I have set up a grunt workflow that rebuilds the dist folder from by build folder when changing any file using a file watcher.
I also have a webserver set up on my local machine. It is on a different drive containing a fully setup wordpress installation.
I have set up a symbolic link to mirror my dist folder into the wp-content/themes folder. So when surfing localhost, I can see my theme and all changes I do to it.
Now I'd like to use Xdebug but don't know how to get it to work. The entry point for Xdebug is the Wordpress index.php which is not part of my project - so I can't map it within PHPStorm.
Any ideas on how to get this working?