I’m setup a docker container with SSH and FTP access.
My local project looks like this:
/Users/gezimhome/projects/ziprecipes.net/zip-recipes
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/ziprecipes.net/workdir/wordpress
.
Here are my deployment settings:
In the docker container, wordpress is downloaded and uncompressed here:
/usr/share/nginx/html/wordpress/
and I map /Users/gezimhome/projects/ziprecipes.net/zip-recipes/src
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:
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 🙁
When setting up a
Server
theHost
needs to match server host name. For my case I set server host tozrdn
:The web server needs to have the server name configured as well. In my case, I configured
nginx
like so:Thanks a million, @LazyOne!