Skip to content

Instantly share code, notes, and snippets.

@miebach
Created May 3, 2012 20:16
Show Gist options
  • Save miebach/2588969 to your computer and use it in GitHub Desktop.
Save miebach/2588969 to your computer and use it in GitHub Desktop.
python debugging from the commandline
python -m dbg codefile.py
# set breakpoint in code:
import pdb; pdb.set_trace()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment