I have the following setup:
- the project is on a mounted network share (Ubuntu 12), e.g. \var\www\mydomain.dev\htdocs\awesomeproject
- PHPStorm creates a local copy on c:\localpath\awesomeproject
- remote debugging with Xdebug is enabled and in general working
When PHPSTorm recognizes an incoming request from Xdebug it will prompt a dialogue where I have to assign local paths to network paths, e.g.
c:\localpath\awesomeproject\public\index.php is the same as \var\www\mydomain.dev\htdocs\awesomeproject\public\index.php
c:\localpath\awesomeproject\public\library\vendor\Zend\Stuff\Foo.php is the same as \var\www\mydomain.dev\htdocs\awesomeproject\library\vendor\Zend\Stuff\Foo.php
As those MVC Frameworks have LOTS of files this manual mapping gets really annoying while debugging.
I was wondering if there is a way to do it automatically or even semiautomatically
Actually the system could try to gess where a file is when I configured the first assignments.
Question: Is there an easy way to map the files?