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.
VS Code maintains a debug session while the program is running, and pressing the Stop button terminates the program.
Switch to the Run and Debug view (Ctrl+Shift+D) and select the create a launch. json file link. VS Code will let you select an "debugger" in order to create a default launch configuration. Pick "Mock Debug".
Use the short cut Ctrl + L to clear the console. Use the clear log button on the top left corner of the chrome dev tools console to clear the console. On MacOS you can use Command + K button.
Press Ctrl + Shift + Z on Windows and Linux, or Cmd + Opt + Z on macOS (starting in Firefox 71; prior to Firefox 66, the letter in this shortcut was S ). Press the menu button. , select “Developer”, then “Debugger”.
It is now possible using the debug.openDebug User Setting.
You can set it to either:
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With