在 Visual Studio Code 中调试时是否可以不显示调试侧栏?

Tyl*_*rdt 0 visual-studio-code vscode-settings vscode-debugger

为了为新用户(不认为自己是开发人员)简化 VS Code 的外观和感觉,我想永远隐藏调试侧栏:

调试侧栏

当前发生的情况是,每次我按 F5 时,调试侧栏都会弹出,即使我用cmd+B. 有什么办法可以强迫它隐藏起来吗?

Mar*_*ark 5

在您的设置中寻找

调试:打开调试

    Controls when the debug view should open.
Run Code Online (Sandbox Code Playgroud)

并选择neverOpen选项。

或者放入 "debug.openDebug": "neverOpen",你的settings.json。