-
Notifications
You must be signed in to change notification settings - Fork 30k
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
remove support for 'startSessionCommand' contribution #33791
Comments
startSessionCommand
contribution
ping @roblourens since we have now removed support for the startSessionCommand so it would be great if chrome adopts this change and starts using DebugConfigurationProviders. There are great examples in the Mock Debug in Node Debug |
The The Is the solution for me to check if it's an empty object and then inject the other properties that would be required by my debugger? Or am I missing something in my workflow/implementation? |
@DonJayamanne yes, checking for the empty object is a correct approach. It has not changed from the now obsolete
See what we do in node-debug: https://github.com/Microsoft/vscode-node-debug/blob/ae3618de23acc4ce6e81a5d65e56ed76f9ef69da/src/node/extension/configurationProvider.ts#L34 |
fyi @daviwil @rkeithhill @delmyers @gregg-miskelly @MSLaguana @DanTup @devoncarew @WebFreak001 @andysterland @hbenl @lukaszunity @svaarala @ramya-rao-a @vadimcn @felixfbecker @MSLaguana @rebornix We have removed quite some depricated debug commands since they now have nice debug API alternatives. This is documented in our release notes and here are the issues covering that. |
@isidorn the new debugging API was introduced in the August release (that shipped in early September) and the old API will be removed in the October release (which ships in early November). Is that correct? |
@gregg-miskelly correct |
@isidorn Thanks; I'm hoping to work on this this weekend - hoped to have done it already! Are the APIs already removed in insiders? |
@DanTup yes, in insiders the command support is already removed |
In the latest vscode-insider (2017-10-11), if no launch.json file exists in current workspace, click Another issue is that when a previous debug session is still on starting, click For example, the first activation of the java debug server may cost several seconds to start up. During this period, if user clicks Can VSCode client have the possible to fix it? or passing a configuration id for the selected debug config in the API |
@testforstephen please create a new issue for this where we can discuss this further. Thank you |
I think I've managed to move over from this, but when converting from resolveDebugConfiguration(folder: WorkspaceFolder | undefined, debugConfig: DebugConfiguration, token?: CancellationToken): ProviderResult<DebugConfiguration> {
this.setupDebugConfig(<FlutterLaunchRequestArguments><any>debugConfig);
// ... The only other examples I found using this all just index into the |
Shouldnt |
I did try that, but then I just errors at the other end because my DebugSession's export class DartDebugSession extends DebugSession { I'ts not obvious to me if there should be a relationship between I'll leave my cast in for now since it seems to work. Looks like other adapters might just indexing into the object with string keys so they don't see this (but I really don't want to do that, I already have a nice class!). |
fyi @DustinCampbell @rkeithhill I have only pinged @gregg-miskelly on this issue, forgot Dustin. Thanks for pointing out |
As far as I understood extension updates, an update with engine version set to say 1.17 will not even show up as an update to someone using VS Code 1.16. They will never get the extension update until they update VS Code. So they should be able to debug just fine. |
Yes, we only install the compatible extensions for the given VS Code version by checking their |
With the introduction of the
resolveDebugConfiguration
method on typeDebugConfigurationProvider
in the debug API, it is no longer necessary to contribute astartSessionCommand
on thedebuggers
contribution point. Therefore we are deprecating thestartSessionCommand
in this milestone and plan to drop it in October 2017.The text was updated successfully, but these errors were encountered: