Skip to content

Support multi target debugging  #13426

Closed

Description

Support multiple debug sessions in a single instance of VS Code.

This helps with the following scenarios:

  • debug a client and a server
  • debug a clustered program
  • debug a multi process application
  • debug an extension and its debug adapter and/or language server at the same time

Problems to address:

  • multiple debug models or one 'super model'?
  • how to launch multiple sessions with a single 'F5'?
  • UI: Process view vs. Windows vs. tabs...

Activity

  1. added
    debug
    feature-request
    and removed on Oct 10, 2016
  2. siegebell commented on Oct 11, 2016

    @siegebell

    Debugging a language-server & client in one instance would be nice...

  3. atian25 commented on Oct 11, 2016

    @atian25

    +1 for this, maybe we can debug just like webstorm way.

    and please consider about auto attach to the new worker since it will be auto reload at development.

    and plz also take a look at microsoft/vscode-node-debug#99

  4. weinand commented on Oct 14, 2016

    @weinand
    ContributorAuthor

    The plan is to allow multiple debug sessions in a single VS Code instance. This requires that the debug model/service can be instantiated multiple times. How multiple debug sessions are presented in the UI is an independent issue: probably we will start with something simple, e.g. a simple session switcher or by introducing processes as the top level elements in the call stack view.

  5. isidorn commented on Oct 24, 2016

    @isidorn

    We have added support for mutliple debug sessions. The current way to enable this might change in the future, it is still experimental.

    For how to enable compound debugging check #14842

  6. daviwil commented on Oct 24, 2016

    @daviwil
    Contributor

    This is awesome, thanks a lot!

  7. gerich-home commented on Oct 25, 2016

    @gerich-home

    How do I know when it will be released?

  8. isidorn commented on Oct 25, 2016

    @isidorn

    gerich-home (@gerich-home) #13342

    Also this experimental feature is currently available in the vscode insiders

  9. Gama11 commented on Mar 1, 2017

    @Gama11
    Contributor

    For anyone stumbling upon this issue via Google (like me), the syntax for compound launch configs has changed since Isidor Nikolic (@isidorn)'s earlier comment. There's a usage example here:

    #14842 (comment)

  10. akoidan commented on Jul 25, 2017

    @akoidan

    Also it would be great if there were an ability to switch between target outputs, (atm they are merged):

    image

  11. weinand commented on Jul 25, 2017

    @weinand
    ContributorAuthor

    @Deathangel908 please create a new issue since this issue is already closed.

  12. locked and limited conversation to collaborators on Nov 17, 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