undo all debugging code