Speaker
Nina Zakharenko
Material
Note
- cli debuggers
- pdb
- ipdb
export PYTHONBREAKPOINT=ipdb.set_trace
(after Python 3.7)
- 5 most important commands
- l[ist]
- n[ext]: next line
- s[tep]: into
- c[ontinue]: util next breakpoint
- h[help]
- Tip and Tricks
.pdbrc
- gotcha
- Don't use breakpoints in production code
- use
debug-statements
from pre-commit-hooks
- use
- Don't use breakpoints in production code