PuDB is a console debugger that shows source, stack, breakpoints, and variables together. It targets keyboard-friendly debugging inside a terminal, with themes and a pytest plugin.
Overview
PuDB brings a multi-pane debugging layout to terminals instead of a separate GUI window. While paused, you see syntax-highlighted source, the call stack, breakpoint list, and live variables updated continuously, with expandable value displays.
Navigation relies on single-key commands familiar from pdb, plus cursor keys and Vi-style movement. You can search source, browse loaded modules, set and edit breakpoints from the UI, run to the line under the cursor, and drop into an internal Python shell or a split command prompt. Pre-bundled light and dark themes are available, and custom themes are supported.
Exception handling receives extra attention: post-mortem mode helps walk back through the last steps before a crash. The tool can be driven from a separate terminal, supports remote debugging workflows documented upstream, and documents usage with pytest for breaking on failures or starting without an initial break.
PuDB installs as a Python package and is invoked when code hits a breakpoint or when you launch it against a script. It fits developers who want richer visibility than plain pdb while staying inside SSH or local terminal environments.
Key features
- Multi-pane terminal debugger UI
- Syntax-highlighted source view
- Keyboard and Vi-style navigation
- Visual breakpoint editor
- Module browser and code search
- In-debugger Python shell
- Post-mortem exception mode
- Remote and pytest integration
Use cases
- Debugging Python scripts over SSH
- Stepping through tests under pytest
- Investigating exceptions after a crash
- Terminal-only development environments
- Remote debugging from another console