14 ms·
Great article, especially nice points about __repr__ helping logging. PDB as mentioned is great, but IPDB is at a whole 'nother level. If I'm able to get an ip
by DanFeldman 6y ago
Great article, especially nice points about __repr__ helping logging.
PDB as mentioned is great, but IPDB is at a whole 'nother level. If I'm able to get an ipdb breakpoint set in a tricky part of python code, I'm set. Tab-completion, some saved history, normal debugger operations, it's a dream-come true. I often set breakpoints and code iteratively w/ a repl-like interface or explore unfamiliar functions and objects.
- Groxx 6y agoipdb is one of the nicest command-line debugging experiences I've had. It's wonderful.