When testing with my SimpleTests, I want to inspect a variable. var_dump()
and the likes are not being rendered in the output of Drush, Xdebug interactive debugger does not work due to the simulated browser being ran in DrupalWebTest
.
How can I render, export, inspect or otherwise dump the contents of a variable in my code? I.e. the DrupalWebTest
of dpm()
, var_export()
and such.