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

Auto attach affects whether the debug console shows up when I start debugging #108209

Closed
roblourens opened this issue Oct 6, 2020 · 2 comments
Closed
Assignees

Comments

@roblourens
Copy link
Member

From #108202

  • Auto attach -> smart
  • Run "Launch VS Code"
  • Debug console does not appear
  • Disable auto attach
  • Start debugging again
  • The debug console does appear
@connor4312
Copy link
Member

I'm guessing that auto attach is attaching to the prelaunch script (which is as designed in 'smart' mode, since it's a normal .js script in the workspace.) In auto attach we use internalConsoleOptions: 'neverOpen' to not reveal the console, since that would be quite annoying when using the terminal. There may be some overlap between the attach in the prelaunch script exiting and the debug session starting, and I'm guessing that the new session doesn't then also open the terminal.

I don't think this is something tweakable in js-debug, so deassigning myself, but let me know if there's anything for me to do here

@connor4312 connor4312 removed their assignment Oct 7, 2020
@roblourens
Copy link
Member Author

roblourens commented Oct 7, 2020

In auto attach we use internalConsoleOptions: 'neverOpen' to not reveal the console, since that would be quite annoying when using the terminal. There may be some overlap between the attach in the prelaunch script exiting and the debug session starting, and I'm guessing that the new session doesn't then also open the terminal.

Oh, that makes perfect sense then.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants