Ch 1368 - Adds a debugger tool 

Yeah, this isn't great - I briefly toyed with the idea of passing in the variables but didn't come up with a decent way of doing it - I guess it should work just like the watchdog function in PHP. Will add a todo.