Last Updated: June 6, 2026
pdb is the debugger that ships with every Python install. There's nothing to download, nothing to configure, and it works the same on a laptop, a server, and a CI runner. This lesson walks through how to enter pdb, the commands used in most sessions, conditional breakpoints, post-mortem debugging on a crash, and alternatives like ipdb and pudb when the built-in feels too plain.