debugger

A tool that pauses a running program so you can step through it line by line and inspect its variables.

An exposed debug port lets anyone who reaches it run code inside the service.

In more detail

A debugger lets you set breakpoints, step into and over function calls, and inspect variables while the program is paused. Most languages ship one, such as Python's pdb, and code editors provide graphical front ends.

Examples

Python's built-in debugger is pdb, started by calling breakpoint().
In this course: Python ships with pdb, and editors provide graphical debuggers. A good failure report tells you exactly where to stand in the debugger.

Related terms

Taught in

References