Skip to content

Move debug adapters to run out of process #1876

@DanTup

Description

@DanTup

We can now return a DebugAdapterExecutable from provideDebugAdapter that will allow us to run out debug adapters out-of-process again, but still pick a different one based on project type:

https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_28.md#debug-api-1
microsoft/vscode#59107

This will remove any possibility of us leaking memory in debug sessions that could affect the extension host and prevent us accidentally sharing state between the two (which we currently do, like with globalFlutterArgs).

  • re-enable the lint in lints/disallowImportingNonSharedCodeRule.js when DAs run out-of-process

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions