You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在VS Code中无需切换至运行和调试标签,始终显示运行调试下拉框与按钮?

在VS Code中固定显示运行调试选择框与按钮的方法
  • 按下快捷键 Ctrl+,(Windows/Linux)或 Cmd+,(Mac)打开设置界面
  • 在设置搜索栏输入 debug.toolBarLocation
  • 将该选项的值修改为 docked(默认值为 floating,仅在打开“运行和调试”面板时显示)
  • 设置生效后,运行调试的下拉选择框、运行按钮、调试按钮会固定显示在VS Code顶部状态栏,无需切换到左侧面板即可操作

额外调整(可选):

  • 若想调整工具栏位置,可搜索设置 debug.toolBarPosition,将其设置为 top(默认)或 bottom,按需选择

内容的提问来源于stack exchange,提问作者Keegan Cowle

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.15 16:32:04