VarDumper usage

Hm. Is the VarDumper be only useful within views? When I use it in a controller before rendering the output will be before the DOCTYPE declaration what is not optimal. I have created an example application and there is a bar at the top which hides the output.

How can I use it easily to dump something into the html properly? How do you do a quick dump?

It would be nice if I could define an area in the layout file for dumped data…