undo debug code