pdb — Interactive Debugger — PyMOTW 3
pdb implements an interactive debugging environment for Python programs. It includes features to pause a program, look at the values of variables, and watch program execution step-by-step, so you can understand what the program actually does and find bugs in the logic.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.