pdbp (Pdb+): A drop-in replacement for pdb and pdbpp.
Maintained. Last release 3 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pdbppdbp (Pdb+) 
pdbp (Pdb+) is an advanced console debugger for Python. It can be used as a drop-in replacement for pdb and pdbpp.
pdbp (Pdb+) makes Python debugging a lot easier (and more fun!)
Installation:
pip install pdbp
Then add import pdbp to an __init__.py of your project, which will automatically make Pdb+ the default debugger at breakpoints:
import pdbp
(If using flake8 for code-linting, you may want to add # noqa to that line):
import pdbp # noqa
You can also make pdbp the default debugger by setting an environmental variable:
PYTHONBREAKPOINT=pdbp.set_trace
Usage:
To trigger a breakpoint in your code with pytest, add --trace (to start tests with a breakpoint) or --pdb (to trigger a breakpoint if a test fails).
To trigger a breakpoint from a pure python run, use:
python -m pdbp <script.py>
Basic Pdb+ console commands:
n, c, s, u, d => next, continue, step, up, down
(To learn more Pdb+ console commands, type help in the Pdb+ console and press Enter/Return.)
pdbp (Pdb+) makes improvements to so that it works in all environments. It also includes other bug-fixes. "Sticky" mode is the default option, which shows multiple lines of code while letting you see where you're going (while typing + ).







