Python debugger snippet