Can someone explain how to set up PhpStorm so that I can use it to develop/debug a plugin? I have
- local webserver set up
- craft files in the usual place above the webroot
The new project wizard gives me a choice between "Web server is installed locally, source files are located under its document root" and "Web server is installed locally, source files are located elsewhere locally. (Source files are copied to project root, then synchronized with server when necessary.)" Neither of which seems quite right.
Directory structure:
- craft
- app
- plugins
- myplugin
- public <== this is webroot
- .htaccess
- index.php