Core: learn it Step 11 of 16 on the Python Developer roadmap
Using a debugger
A debugger pauses your program on a line you choose so you can inspect variables step by step. Learn breakpoints in your editor, or call breakpoint() to open Python's built-in pdb.