Last active
January 29, 2017 22:07
-
-
Save ikedumancas/5a4908c6ff3fb6f13b09ceab923b9930 to your computer and use it in GitHub Desktop.
Debbugging Django on CMD using pdb
This file contains hidden or 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
| 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