microsoft / microsoft/debug-adapter-protocol

Support "attach" stop reason

Open
#566 6 comments 0 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Oct 17, 2025.

clarification
Dominant language
HTML
Stars
1.8k
Forks
173
Avg merge
7d 7h
Merged PRs (30d)
2

Description

Some debuggers suspend the execution after an attachment to a running program.

Sometimes this behavior is useful, other times it is more convenient to resume after attach automatically.

Please add the "attach" stop reason to the list of known values in the StoppedEvent.reason.

This will facilitate interaction between editors and debuggers and allow configuring the behavior on the DAP client side.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.