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

[FR] Errors inside Twig templates #4

Open
michaelrog opened this issue Sep 3, 2020 · 0 comments
Open

[FR] Errors inside Twig templates #4

michaelrog opened this issue Sep 3, 2020 · 0 comments

Comments

@michaelrog
Copy link
Member

If a frame is from a Twig template (i.e. the file is in storage/runtime/compiled_templates):

  • Display the source template path rather than the compiled class path
  • (Maybe still make the compiled class path available, in the meta pane?)
  • Show code snippet from source template, mapped back to original Twig line numbers.
  • Show a nice dump of the Twig context
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