Search code examples
springdebuggingvisual-studio-codecolors

Change VS Code debug console font color?


For whatever reason, the font color of my debug console is a blue which makes it really difficult to read. I'm not sure if this is due to vs code settings or maybe project settings as, when I put a break point and evaluate expressions, the font color is a readable white. How can I change this output color to something more legible? See image below:

enter image description here


Solution

  • You need to change your setting in VS Code's setting.json. The required property is

    {
        "workbench.colorCustomizations": 
        {
            "debugConsole.infoForeground": "#ffffff"
        }
    }
    

    This setting will change the color to white. You can of course change it to any other color you would like to.

    There are other properties as well, like debugConsole.errorForeground, debugConsole.warningForeground, etc. which you might want to change as well. All of these properties are inside workbench.colorCustomization