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

Show fullpage source code directly in Tracy #509

Open
janbarasek opened this issue Oct 6, 2021 · 0 comments
Open

Show fullpage source code directly in Tracy #509

janbarasek opened this issue Oct 6, 2021 · 0 comments

Comments

@janbarasek
Copy link
Contributor

In Symfony Profiler, when you click on a file name, there is a way to view the entire file, including the highlighted line, directly in the browser to easily understand the problem that occurred. This feature makes particular sense in production use where there is no easy way to get to the contents of the file, but debug mode is active.

Implementation idea

For file paths in the callstack, there will be a button that displays the entire contents of the file on a full page.

Possible technical implementation

When a URL (for example) /?tracyProxy&file=<path>&line=34 is called while debug mode is active, the file contents will be displayed on a full page.

Symfony example:

Snímek obrazovky 2021-10-06 v 10 14 11

Thanks.

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