Does that dump go in the middle of the rest of the content?
I mean, the app is producing HTML, does that extra variable info go in between? Because that can get really tricky.
For me, having it go on a separate place is a bonus, not a problem. Although I can see why you would prefer a nicely formatted output.
I created improved logging for SuiteCRM, but it’s been sitting there for years without being merged. That one has stack traces with variable values which is a really precious piece of debugging info.
See the docs I made here.
The Symfony stuff usually is brilliantly well-designed so I am grateful to learn about VarDumper, one day I’ll give it a try.