Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFR] Phalcon\Debug and link to file with an error #1401

Closed
iforp opened this issue Oct 18, 2013 · 3 comments
Closed

[NFR] Phalcon\Debug and link to file with an error #1401

iforp opened this issue Oct 18, 2013 · 3 comments

Comments

@iforp
Copy link
Contributor

iforp commented Oct 18, 2013

There is an usefull xdebug setting — xdebug.file_link_format

This setting determines the format of the links that are made in the display of stack traces where file names are used. This allows IDEs to set up a link-protocol that makes it possible to go directly to a line and file by clicking on the filenames that Xdebug shows in stack traces.

For example, in my case xdebug.file_link_format = "phpstorm:%f@%l"
It generates direct links to my IDE project-file-line in xdebug warnings/exceptions (in the message body and in the backtrace) with my own URL protocol.
Like this phpstorm:D:\server\some-project\index.php@44

But Phalcon\Debug don't use this feature, simply shows the path to the error, which makes it unusable.

@iforp
Copy link
Contributor Author

iforp commented Oct 18, 2013

vs

@ghost
Copy link

ghost commented Oct 19, 2013

Please check now.

@phalcon
Copy link
Collaborator

phalcon commented Oct 22, 2013

Implemented in 1.3.0

@phalcon phalcon closed this as completed Oct 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant