Python ships with pdb, and the built-in breakpoint() call drops into it. ipdb adds IPython features such as tab completion and syntax highlighting, and PuDB provides a full-screen console interface with variables, stack and source visible at once. icecream replaces print debugging by printing expressions alongside their values and source location.
pdb-like Debugger2
Tracing1
A low-overhead tool that traces and visualizes Python code execution.
Profiler4
Tracks memory allocations in Python code, native extensions, and the interpreter itself.
A statistical wall-clock profiler with low overhead and readable call-tree output.
A high-performance, high-precision CPU, GPU, and memory profiler for Python.
Others4
Live profiling and inspection of HTTP requests and database queries for Django.
Inspect variables, expressions, and program execution with a single, simple function call.