Add some useful debugging tools