Created
March 15, 2009 16:26
-
-
Save doegox/79466 to your computer and use it in GitHub Desktop.
Forces jump to PDB prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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