Problem/Motivation
debug()
can be helpful from time to time. Sadly its throwing an error which phpunit converts to an exception, which stops the processing of anything.
Proposed resolution
Allow Symfony's VarDumper component's dump() function to be used in tests.