首页 > 解决方案 > VSCode 调试控制台颜色变化

问题描述

我找到有关如何向我的 vscode 终端以及 vscode 调试控制台的文本(并且只有文本)添加各种奇怪而美妙的颜色的文档。

我想知道的是如何更改与vscode集成的调试控制台的背景颜色。这样做的原因是因为我的背景是黑色的,而我的突出显示颜色是黑色的,这意味着我什至看不到我是否真的突出显示了任何东西。

下面的 gif 显示了我的终端(很棒)和我的调试控制台(很暗,很难看到我是否突出显示了任何内容)。

我的终端和调试控制台中的当前外观:

在此处输入图像描述

当前代码settings.json

"workbench.colorCustomizations": {
        "debugConsole.warningForeground": "#f06a6a",
        "debugConsole.errorForeground": "#eb5a5a",
        "debugConsole.sourceForeground": "#0c0",
        "debugConsole.infoForeground": "#ececf3",
        "debugView.valueChangedHighlight": "#ececf3",
        "terminal.foreground" : "#00FD61",
        "terminal.background" : "#000000",
        "editorSuggestWidget.background": "#24262b",
        "editorSuggestWidget.selectedBackground": "#768fc4",
        "editorSuggestWidget.highlightForeground": "#ffffff",
        "editor.selectionBackground": "#805d5d",
        "editor.selectionForeground": "#ff0000"
    },

标签: visual-studio-codevscode-settings

解决方案


推荐阅读