Skip to content

Support to call debug adapter API from extension #15656

Closed

Description

No description provided.

Activity

  1. added
    debug
    on Nov 17, 2016
  2. added
    feature-request
    on Nov 17, 2016
  3. isidorn commented on Nov 17, 2016

    @isidorn

    Assigning to november to investigate

  4. roblourens commented on Jan 3, 2017

    @roblourens
    Member

    What's your current thinking about how the extension/debug adapter communication should work for skipFiles?

  5. weinand commented on Jan 4, 2017

    @weinand
    ContributorAuthor

    roblourens since the skip-files-ui-feature is a one-off private feature, you are free to introduce whatever protocol you need. Only your debug adapter will use it.

  6. isidorn commented on Jan 12, 2017

    @isidorn

    We have added a first version for this. After discussing with Andre Weinand (@weinand) we have decided that the first step for allowing this is for the extension to simply pass the request to vscode which would forward it to the debug adapter.
    In the future we should consider making this official API in vscode.d.ts, currently it is simply a workbench command.

    Each extension can exectue the command "workbench.customDebugRequest" and pass the request and arguments. Here's an example:

    vscode.commands.executeCommand('workbench.customDebugRequest', 'myRequest', { test: 5 });
    

    Closing this issue as there is a seperate issue #14728 for tracking the implementation in skip files.
    roblourens let me know if you need anything else on the vscode side or ping if you have any feedback on how we exposed this

  7. roblourens commented on Jan 12, 2017

    @roblourens
    Member

    Looks like exactly what I need, I'll try it out.

  8. DanTup commented on Jun 2, 2017

    @DanTup
    Contributor

    Andre Weinand (@weinand) Thanks! I managed to find that (and this issue) after commenting last night; looks like it should do exactly what I need, thanks!

  9. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions