PhpStorm mapping paths

I'm setup a docker container with SSH and FTP access.

My local project looks like this:

/Users/gezimhome/projects/ is my project dir. The source code for my WordPress plugin is in src folder. I have wordpress downloaded and extracted locally here in /Users/gezimhome/projects/

Here are my deployment settings: enter image description here

My mappings: enter image description here

My server: enter image description here

In the docker container, wordpress is downloaded and uncompressed here: /usr/share/nginx/html/wordpress/ and I map /Users/gezimhome/projects/ to /usr/share/nginx/html/wordpress/wp-content/plugins/zip-recipes when creating the container.

Xdebug is setup properly because I get this Incoming Connection from Xdebug screen: enter image description here

So, question is, since I already have the mapping why does it keep bothering me to do a mapping for wordpress files?!

And the bigger question is, why are my breakpoints in my plugin not being hit at all?!

Please help :(

Comment actions Permalink

This issue was resolved/answered on StackOverflow site (see the link in previous comment)

Comment actions Permalink

Yup, that solved it! Thanks.


Please sign in to leave a comment.