Open files in PHPStorm using the Vagrant + Symfony application

I know that you can open files from symfony profile profiles or links to exception files using this in project/app/config.yml:

framework:
    ide: "phpstorm://open?file=%%f&line=%%l"

Additional information: http://developer.happyr.com/open-files-in-phpstorm-from-you-symfony-application

However, since I use vagrant, the path to the server file does not match my host.

I created a PHP web application server in PHPStorm with a propper path displayed, but still does not work.

Any ideas?

thank

+4
source share
1 answer

Symfony , . URL-, > -:

// /path/to/guest/.../file will be opened
// as /path/to/host/.../file on the host
// as /path/to/host/.../file on the host
'phpstorm://%f:%l&/path/to/guest/>/path/to/host/&/foo/>/bar/&...'

Symfony FrameworkBundle - IDE

+2

All Articles