Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service/dap: support terminateDebuggee option for attach only #2940

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

polinasok
Copy link
Collaborator

@polinasok polinasok commented Mar 22, 2022

I realized that we end up with Stop and Disconnect options both for Attach (correct) and Launch (incorrect). So change the code to request this capability in Attach cases only. This also sets us up for when suspendDebuggee option is added, which should only apply to remote attach (microsoft/vscode#134412). Turns out this currently makes no difference in the UI - filed an issue (microsoft/vscode#145650).

Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker derekparker merged commit b5f60db into go-delve:master Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants