← All extensions
Debugger banner

Debugger

ivyx

Set breakpoints and step through your Python code, watching variables and the call stack as it runs

Debugger

Stop your program where it matters and look around. Set a breakpoint, step through line by line, and inspect variables and the call stack while everything is paused.

What you can do

  • Set breakpoints by clicking the editor gutter or pressing F9, turn them on and off, and have them remembered per project
  • Control the run: Continue (F5), Pause (F6), Step Over (F10), Step Into (F11), Step Out (Shift+F11), Restart, Stop (Shift+F5)
  • Inspect the call stack, expand variables as you need them, and add watch expressions
  • Read your program's output and evaluate expressions in the paused frame from the Debug Console
  • Keep launch configurations in .punica/launch.json (a VS Code-compatible subset, with ${workspaceFolder} and ${file}), or let the active file be configured for you

Language support

Language Adapter Status
Python debugpy (pip install debugpy)
Go delve Planned
Node.js js-debug Planned

Requirements

  • The desktop app — debugging spawns local adapter processes, so it is not available in the browser
  • For Python, an interpreter with debugpy installed. The sidebar shows you the install command when it is missing

Example .punica/launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "internalConsole",
      "justMyCode": true
    }
  ]
}

Getting started

Open a Python file, click the gutter next to a line to set a breakpoint, and press F5.