microsoft / microsoft/debug-adapter-protocol
Support for avoiding source focus in "stopped" events
@connor4312 is already working on this.
Since Jan 22, 2025.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
We have implemented a debug adapter for the Ballerina language and, we have a requirement to avoid the automatic focus on the source file that contains the debug hit when a "stopped" event occurs while retaining the ability to display variables and other debug-related information in the LHS debug panel.
We already tried using the preserveFocusHint flag in the "stopped" event, but this flag not only avoids opening the source file but also disables the display of variables in the left-hand side (LHS) debug panel.
Is there a recommended way to achieve this functionality with the current Debug Adapter Protocol (DAP) specification?
If not, can this feature be considered for future versions of the protocol?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.