Programming FAQ¶ General Questions¶ Is there a source code level debugger with breakpoints, single-stepping, etc.?¶ Yes. Several debuggers for Python are described below, and the built-in function breakpoint() allows you to drop into any of them. The pdb module is a simple but adequate console-mode debugger for Python. It is part of the standard Python library, and is documented in the Library Ref