Proper debug output. Sort of.