Skip to content

Instantly share code, notes, and snippets.

@ikedumancas
Last active January 29, 2017 22:07
Show Gist options
  • Select an option

  • Save ikedumancas/5a4908c6ff3fb6f13b09ceab923b9930 to your computer and use it in GitHub Desktop.

Select an option

Save ikedumancas/5a4908c6ff3fb6f13b09ceab923b9930 to your computer and use it in GitHub Desktop.
Debbugging Django on CMD using pdb
import pdb
pdb.set_trace() # stop execution and let you enter code on CMD
# TO do multi-line statements in pdb, insert code below while on pdb
!import code; code.interact(local=vars())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment