Skip to content

Instantly share code, notes, and snippets.

@doegox
Created March 15, 2009 16:26
Show Gist options
  • Save doegox/79466 to your computer and use it in GitHub Desktop.
Save doegox/79466 to your computer and use it in GitHub Desktop.
Forces jump to PDB prompt
def debug():
"""Forces jump to PDB prompt"""
print "<<< You are in the PDB debugger."
import pdb
pdb.set_trace()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment