![phpstorm wordpress phpstorm wordpress](http://www.kirstencassidy.com/wp-content/uploads/2015/08/Screen-Shot-2015-08-26-at-21.27.48.jpg)
Browser: Chrome (with the xdebug helper installed).Local path to create validation script: C:\sources\my_plugins\plugins\privateer-page-types (the local source directory)Ĭlicking validate now properly shows the php.ini file, xdebug, remote host, etc.Once I did that, going to Settings > Languages & Frameworks > PHP > Servers and selecting Validate, I had the following setup: I did this as I realized that the web path is supposed to be the web path to the project on the server. Web path on server: /wp-content/plugins/privateer-page-types.Deployment on server: wp-content\plugins\privateer-page-types.Local: C:\sources\my_plugins\plugins\privateer-page-types.Obviously, it is looking in the wrong place so I changed the mapping to the following (Settings > Build,Execution,Deployment > Deployment): The "Local path to create validation script" was set to C:\sources\my_plugins\plugins\privateer-page-types (the plugin source). "Failed to execute validation script: 'Could not read from " " because it is not a file. With this setup, when I attempt to validate I receive the following error:
![phpstorm wordpress phpstorm wordpress](https://www.tabnine.com/blog/wp-content/uploads/2021/08/image-2.png)
![phpstorm wordpress phpstorm wordpress](https://www.oliviertravers.com/wp-content/uploads/2016/09/phpstorm-docker.png)
#Phpstorm wordpress how to#
However, I don't know how to set up debugging (so that it works).
#Phpstorm wordpress full#
I am looking for a detailed setup instructions for a plugin project in PhpStorm with full comfort like quick deployment to a testing site, debugging etc.