Good day all, often when I'm developing, I get a crash, with a message like this:
Method "id" for object "Symfony\Component\Form\FormView" does not exist ...
This is the perfect time to be able to dump the object, but I don't see how to do that. Is there an easy way?
Ideally, VarDump would be available right in the debut/profile bar.
Maybe I'm not looking in the right place?
Sure, I could go back and add a call to my code just before where it crashes, but that's slow and labour intensive.
Is there any way to easily extend the debug/profile toolbar, so that it offers this option, as a collapsable element, for the object that caused the crash?
This really seems like it would save lots of time debugging.
Here's hoping!