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

[Debug] Cannot launch multiple programs in integrated terminal #40814

Closed
testforstephen opened this issue Dec 26, 2017 · 2 comments
Closed

[Debug] Cannot launch multiple programs in integrated terminal #40814

testforstephen opened this issue Dec 26, 2017 · 2 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s)

Comments

@testforstephen
Copy link

  • VSCode Version: 1.19.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Install java-debug extension
  2. Use vscode to open java project, add two launch configurations on launch.json, and both configurations' console setting is integratedTerminal.
  3. Launch the first one, and you see Java Debug Console channel added to integrated terminal.
  4. Try to launch the second one, timeout. No new terminal channel is created.

See the gif below. The two launchInTerminal commands are sent to the same shell terminal, but the first debug session is still running so that the second one is pending. You see if i stop the first one, the second the runInTerminal commands shows up immediately at the same terminal.

cannotlaunchinterminal

Expected behavior:

  • Users should be able to launch multiple programs in integrated terminal
  • Each program should have its own terminal created
@vscodebot vscodebot bot added the debug Debug viewlet, configurations, breakpoints, adapter issues label Dec 26, 2017
@isidorn
Copy link
Contributor

isidorn commented Dec 27, 2017

@testforstephen Here's a code pointer in case you are interested in providing a PR that solves this issue
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/terminalSupport.ts#L21

Forwarding to @weinand feel free to bounce back to me if you would like me to investigate

@isidorn isidorn assigned weinand and unassigned isidorn Dec 27, 2017
@weinand
Copy link
Contributor

weinand commented Dec 27, 2017

duplicate of #37589

@weinand weinand closed this as completed Dec 27, 2017
@weinand weinand added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 27, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 10, 2018
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 *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants