'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:
Solution 1:[1]
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
Solution 2:[2]
If you'd like to make use of full colour log output in the 'Debug Console' window then add the following property to your debugging spring profile:
spring.output.ansi.enabled=always
Alternatively, add it to your debug configuration vmArgs
:
"vmArgs": [
"-Dspring.output.ansi.enabled=always"
]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | AzuxirenLeadGuy |
Solution 2 |