3 ms·
I use ipython's "ipdb" or plain old Python "pdb" for the same functionality, and a bit more -- people don't seem to realize that ipdb gives them a full-on REPL
by swdunlop 15y ago
I use ipython's "ipdb" or plain old Python "pdb" for the same functionality, and a bit more -- people don't seem to realize that ipdb gives them a full-on REPL within the calling context.
I usually wrap it into our error logging functions, so an environment variable enables debugging where I would normally have a catch-all -- very handy when looking for heisenbugs in AndBug.
AntiLog -- https://gist.github.com/a256ed1295619fad7cfc https://gist.github.com/a256ed1295619fad7cfc
AndBug -- https://github.com/swdunlop/andbug https://github.com/swdunlop/andbug