Skip to content
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

Support multi target debugging #13426

Closed
weinand opened this issue Oct 10, 2016 · 10 comments · Fixed by #14264
Closed

Support multi target debugging #13426

weinand opened this issue Oct 10, 2016 · 10 comments · Fixed by #14264
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Oct 10, 2016

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...
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues debug-console feature-request Request for new features or functionality and removed debug-console labels Oct 10, 2016
@weinand weinand added this to the October 2016 milestone Oct 10, 2016
@siegebell
Copy link

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

@atian25
Copy link

atian25 commented Oct 11, 2016

+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

@weinand
Copy link
Contributor Author

weinand commented Oct 14, 2016

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.

@isidorn
Copy link
Contributor

isidorn commented Oct 24, 2016

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

@daviwil
Copy link
Contributor

daviwil commented Oct 24, 2016

This is awesome, thanks a lot!

@gerich-home
Copy link

How do I know when it will be released?

@isidorn
Copy link
Contributor

isidorn commented Oct 25, 2016

@gerich-home #13342

Also this experimental feature is currently available in the vscode insiders

@Gama11
Copy link
Contributor

Gama11 commented Mar 1, 2017

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

#14842 (comment)

@akoidan
Copy link

akoidan commented Jul 25, 2017

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

image

@weinand
Copy link
Contributor Author

weinand commented Jul 25, 2017

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

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants