PHPStorm - Integration WIth Laravel Ignition Exception Handler When Using Docker

Hello there,

I noticed that Laravel's Exception manager (ignition), produced a link for editing when  you hover over a line as shown below. I managed to get the link to create a correct local path after setting the `IGNITION_LOCAL_SITES_PATH` variable (as explained here: https://flareapp.io/docs/ignition-for-laravel/configuration) to be the path to where it is on my computer.

Unfortunately, the link does not work (I made sure to test the path was correct). I'm wondering if there is something I need to do in Linux/Firefox or PHPStorm to get it to work, or if this is something to do with the fact that I am using Docker with a volume to my codebase? E.g. the site is actually in a docker container running an Apache webserver, and a volume that mounts the code into the server at /var/www/site.

0
2 comments

Opening file links is not supported out-of-the-box on Linux, unfortunately: https://youtrack.jetbrains.com/issue/IDEA-65879
This answer contains information about third-party workarounds: https://stackoverflow.com/a/56066943/8018879

0

Ok, thanks for the info :)

0

Please sign in to leave a comment.