Add debugging tools