How to debug Python code with pdb, the built-in debugger
Learn to find bugs with Python's built-in debugger: pause code with breakpoint(), step through lines, print variables, set breakpoints and inspect a crash after it happens.
Learn to find bugs with Python's built-in debugger: pause code with breakpoint(), step through lines, print variables, set breakpoints and inspect a crash after it happens.