Greg
Greg

Reputation: 3150

Don't open Debug panel by default

Is there a configuration setting that prevents the Debug panels (Variables, Watch, Call Stack) and Debug Console from opening on debug start / F5?

Specifically when debugging a node app, its not needed. On a small screen it takes up valuable space and is unneeded.

Upvotes: 37

Views: 6836

Answers (3)

micro_man
micro_man

Reputation: 760

It is now possible using the debug.openDebug User Setting.

You can set it to either:

  • neverOpen
  • openOnDebugBreak

Upvotes: 61

rukaelin
rukaelin

Reputation: 268

If you set "internalConsoleOptions":"neverOpen" in .vscode/launch.json, the Debug Console does not open up when you start debugging.

Issue on GitHub

Terminology: The Debug Console is officially called Debug Console Panel, whereas the view opening on the left side is refered to as Debug Side Bar All about debugging in VS Code

Upvotes: 14

Benjamin Pasero
Benjamin Pasero

Reputation: 124314

Just open .vscode/launch.json in your workspace and set "externalConsole": true to not use the VS Code built in console but the OS default one.

Upvotes: 2

Related Questions