# Debugger

*noun*

say it: **“dee-BUG-er”** **/diˈbʌɡər/**

A tool that runs a program and lets you pause it, go one line at a time and see each variable's value as it changes.

## What is a **debugger**?

A **debugger** runs your program and pauses it where you choose, so you can run it one line at a time and see every
variable's value. VS Code's Python extension has one: F5 starts it.

```python
def order_total(prices):
    total = 0
    for price in prices:
        total += price   # pause here and watch total grow
    return total
```

## In a sentence

- “He started the **debugger** with F5 and found the line where the fee doubled.”
- “In the **debugger** she watched total change on each pass of the loop.”

Level: Apprentice · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=2)

Updated: November 19, 2026

## In other subjects

- [Debugger in C#](https://www.ask-codey.com/glossary/debugger-c-sharp)
- [Debugger in Java](https://www.ask-codey.com/glossary/debugger)
- [Debugger in JavaScript](https://www.ask-codey.com/glossary/debugger-javascript)
- [Debugger in PowerShell](https://www.ask-codey.com/glossary/debugger-powershell)

Source: https://www.ask-codey.com/glossary/debugger-python
