Undo debugging changes