Ipdb
lastmod 2026-11-10created 2020-08-193 edits
ipdb is a debugger that adds IPython features to pdb, Python's standard debugger. It offers tab completion, syntax highlighting, nicer tracebacks, and magic commands, making it convenient for stepping through code line by line in the terminal. You set a breakpoint by inserting import ipdb; ipdb.set_trace() in the middle of your code or by running a script with python -m ipdb, and its command set is the same as pdb's. If you want a split-screen interface, pudb is an alternative.