Yeh it's not Magento, but this might help some people:
CopyZend_Debug::dump()
Zend_Debug::dump()
Basically it's var_dump but with <pre> tags, no biggie but it's nice to use.
<pre>