-
Notifications
You must be signed in to change notification settings - Fork 513
onDebug to onDebugResolve:type #1181
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
onDebug to onDebugResolve:type #1181
Conversation
@roblourens for the FYI (would also love your 👍 if you don't mind) |
package.json
Outdated
@@ -26,7 +26,7 @@ | |||
}, | |||
"main": "./out/src/main", | |||
"activationEvents": [ | |||
"onDebug", | |||
"onDebugResolve:type", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's all it takes? Cool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked through the docs, changed this and debugging still worked so this looks right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I need to update the engine version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In the past, @daviwil has tried to support both the current version of VSCode and n-1 IIRC. This would deviate from the policy unless the VSCode team release 1.20 before we release 1.6.0. :-) |
LGTM, thanks! 1.20 will be released sometime in the middle of next week. |
I'll keep this open until 1.20 is released since it's such a small change. |
1.20 was released a couple days ago! I'm going to merge this in now :) |
The docs say, in 1.19, VSCode made more fine-grained debugger activation events.
Read the link for the full details but the rule of thumb goes as followed:
The vscode-powershell extension implements just
resolveDebugConfiguration
here so we just need to replaceonDebug
withonDebugResolve:type
Resolves #1179