Skip to content

Consider to use the DebugAdapterDescriptorFactor #751

Closed

Description

Instead of making VS Code start new debug sessions by connecting to a port via this code we suggest that you use the official API that we've introduced for this use case.

Mock debug shows how the DebugAdapterDescriptorFactory can be used to start a server and make VS Code connect to it.

The factory can be registered for Java in the extension's activate function like this:

context.subscriptions.push(vscode.debug.registerDebugAdapterDescriptorFactory('java', factory));

Activity

  1. akaroml commented on Feb 7, 2020

    @akaroml
    Member

    Andre Weinand (@weinand) thanks for the info. We'll follow up.

  2. weinand commented on Jun 8, 2020

    @weinand
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions