Dumper does not output file/line #19706
The issue is not to add it to the output, but to determine these file and line. The only way (AFAIK) is to use debug_backtrace and then to extract a meaningful location from it (which is not easy, as the meaningful layer is often not the first one, due to the dump() function wrapper or the Twig integration layer)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I use dump() I'd like to be able to tell where was it called at.
It's not difficult to add to output and I'd like to contribute it if approved by community.