You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attention! This issue relates only for unhandled exception debug window which shows up for exceptions thrown by PHP like \ErrorException and handled by set_error_handler mechanism. These are exceptions based on FatalErrorException class. Exceptions handled by symfony/source code and displayed by kernel.exception event is not related. I wrote this issue text shown below before I relised this difference, but it is still relevant for unhandled exceptions.
I did everything as described in this topic. I use Ubuntu & PhpStorm & Chrome.
This path replacing mechanics not working for me at all.
I checked out this issue but it wont helped me neither.
I did a couple of tries which I generalised to this two scenarios: First try:
framework.yml: ide: "phpstorm://open?file=%%f&line=%%l&/usr/local/>/var/www/project_name/"
php.ini: xdebug.file_link_format = ""
Result: not a phpstorm link Second try:
no ide key in framework.yml
php.ini: xdebug.file_link_format = "phpstorm://open?file=%f&line=%l&/usr/local/>/var/www/project_name/"
Result its a link
BUT the link is phpstorm://open?file=/usr/local/app/src/Entity/WhatEverFile.php&line=205&/usr/local/>/var/www/project_name/ wich results to non existent file error in PhpStorm - it tries to open /usr/local/app/src/Entity/WhatEverFile.php file.
I have tried phpstorm://open?url=file://%f&line=%l&/usr/local/>/var/www/project_name/ format just in case.. but hopeless.
The text was updated successfully, but these errors were encountered:
…yrixx, nicolas-grekas)
This PR was merged into the 3.4 branch.
Discussion
----------
[Debug][WebProfilerBundle] Fix setting file link format
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | ,p
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #26917
| License | MIT
| Doc PR | -
Commits
-------
a4a1645 [Debug][WebProfilerBundle] Fix setting file link format
620f90d [Debug] Fixed the formatPath when a custom fileLinkFormat is defined
Uh oh!
There was an error while loading. Please reload this page.
Attention! This issue relates only for unhandled exception debug window which shows up for exceptions thrown by PHP like \ErrorException and handled by
set_error_handler
mechanism. These are exceptions based onFatalErrorException
class. Exceptions handled by symfony/source code and displayed bykernel.exception
event is not related. I wrote this issue text shown below before I relised this difference, but it is still relevant for unhandled exceptions.I did everything as described in this topic. I use Ubuntu & PhpStorm & Chrome.


This path replacing mechanics not working for me at all.
I checked out this issue but it wont helped me neither.
I did a couple of tries which I generalised to this two scenarios:
First try:
framework.yml:
ide: "phpstorm://open?file=%%f&line=%%l&/usr/local/>/var/www/project_name/"
php.ini:
xdebug.file_link_format = ""
Result: not a phpstorm link
Second try:
no ide key in framework.yml
php.ini:
xdebug.file_link_format = "phpstorm://open?file=%f&line=%l&/usr/local/>/var/www/project_name/"
Result its a link
BUT the link is
phpstorm://open?file=/usr/local/app/src/Entity/WhatEverFile.php&line=205&/usr/local/>/var/www/project_name/
wich results to non existent file error in PhpStorm - it tries to open/usr/local/app/src/Entity/WhatEverFile.php
file.I have tried
phpstorm://open?url=file://%f&line=%l&/usr/local/>/var/www/project_name/
format just in case.. but hopeless.The text was updated successfully, but these errors were encountered: