Skip to content

[Story] Debugger through the Debug Adapter Protocol #180

Done

Description

@aMonteSl

Part of #163 · P2 · Effort L · After #21 and the tasks story

User story

As a developer using the Code-XR IDE,
I want to set breakpoints, step through code and inspect variables,
so that I can debug without switching to another IDE.

Scope

  • A DAP client in the main process.
  • Two adapters:
    • Node.js: a minimal in-process adapter over the inspector protocol.
    • Python: debugpy, installed only into the IDE's managed venv, with consent.
  • Breakpoints in the gutter.
  • A Run and Debug view with variables, watch, call stack and breakpoints, plus a debug toolbar and a debug console.
  • Launch configurations in .codexr/launch.json, the folder the IDE already uses for its own files.

Acceptance criteria

  • A breakpoint in a Python file stops execution and shows locals.
  • Step over, into and out, and continue, work for Node and Python on all three OSes.
    • The round-trip e2e test runs on Linux, Windows and macOS in CI.
    • It was also verified by hand in the real window.
  • A missing adapter degrades with a clear message: debugpy is offered as a consented install.

Done in PR #245, merged into ide.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. added
    tfm
    user-story
    area: ide
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: idestream: ide-powertfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions