I have a local apache2 server running with virtual hosts for each of my projects, ie. http://project1, http://project2. The virtual host root file path might be something like /media/user/project1/public/html/. Some of these projects use symlinks, too. So an Url like http://project1/app might point to a directory that lives above the virtual host root dir, ie. /media/user/project1/app/.
How exactly am I supposed to configure PHPStorm now to debug project1? I was using the Web Server Debug Validation, but am unsure what to enter there. I can get the validator to succeed by either using http://localhost or http://project1, but when I set a breakpoint in the IDE and activate my browser debug helper, it just runs through without stopping. When I manually set a xdebug_break() instead of a breakpoint, it seems to work.
I do get the error "..is not mapped to any file in path project", but when I try to resolve the mapping issue, I basically can select any file or folder from the project, but the OK button stays greyed out.
So much for the "Zero Configuration", I guess. Any help would be appreciated.