3 ms·
I have to say sometimes I do find it much easier to read logs than to muck about in an interactive interpreter. That said I did just add `export PYTHONBREAKPOIN
by tgbugs 8y ago
I have to say sometimes I do find it much easier to read logs than to muck about in an interactive interpreter. That said I did just add `export PYTHONBREAKPOINT=pudb.set_trace` to my bashrc and am slowly going through and removing all my old `from IPython import embed` lines. A much simpler workflow that doesn't incur major runtime costs.
- cool-RR 8y agoPuDB is amazing. Best command-line debugger ever, plus you get feelings of nostalgia for the Borland days.
- StavrosK 8y agoFor those, like me, who don't know about the new breakpoint(): https://hackernoon.com/python-3-7s-new-builtin-breakpoint-a-quick-tour-4f1aebc444c https://hackernoon.com/python-3-7s-new-builtin-breakpoint-a-...