Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code Debug Console colours

I am using Light (Visual Studio) theme. The yellow text on the debug console is just not visible. How to change it? https://code.visualstudio.com/api/references/theme-color doesn't have the info! Who the hell on earth would use Yellow text On White background colour!?!

like image 330
Kok How Teh Avatar asked Jul 09 '19 08:07

Kok How Teh


People also ask

How do I change the color of my console code in Visual Studio?

You can customize your active Visual Studio Code color theme with the workbench. colorCustomizations user setting. Note: If you want to use an existing color theme, see Color Themes where you'll learn how to set the active color theme through the Preferences: Color Theme dropdown (Ctrl+K Ctrl+T).

What do the colors mean in Visual Studio?

Here's your quick reference to the colors and icons in the editor window's right-hand margin: Yellow: The line has been changed but not yet saved. Green: The line has been changed and saved. Orange: The line has been changed, saved, and the change undone. Little square dots in the middle of the margin: Break points.

How do I debug console in VS Code?

To bring up the Run and Debug view, select the Run and Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D. The Run and Debug view displays all information related to running and debugging and has a top bar with debugging commands and configuration settings.


1 Answers

Adding the following after the "workbench.colorTheme" option worked for me in 14.9.2.

"workbench.colorCustomizations": {
    "debugConsole.warningForeground": "#800",
    "debugConsole.errorForeground": "#d00",
    "debugConsole.sourceForeground": "#0c0",
    "debugConsole.infoForeground": "#00f"
}
like image 54
Michael Davies Avatar answered Oct 12 '22 11:10

Michael Davies