php - PhpStorm mapping paths -


i'm setup docker container ssh , ftp access.

my local project looks this:

/users/gezimhome/projects/ziprecipes.net/zip-recipes project dir. source code wordpress plugin in src folder. have wordpress downloaded , extracted locally here in /users/gezimhome/projects/ziprecipes.net/workdir/wordpress.

here deployment settings: enter image description here

my mappings: enter image description here

my server: enter image description here

in docker container, wordpress downloaded , uncompressed here: /usr/share/nginx/html/wordpress/ , map /users/gezimhome/projects/ziprecipes.net/zip-recipes/src /usr/share/nginx/html/wordpress/wp-content/plugins/zip-recipes when creating container.

xdebug setup because incoming connection xdebug screen: enter image description here

so, question is, since have mapping why keep bothering me mapping wordpress files?!

and bigger question is, why breakpoints in plugin not being hit @ all?!

please :(

when setting server host needs match server host name. case set server host zrdn: enter image description here

the web server needs have server name configured well. in case, configured nginx so:

server {         listen   8080;         server_name zrdn;         ... 

thanks million, @lazyone!


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -