Is there a way to display colors (like in a terminal) in the Debug Console of Visual Studio Code (Version 1.10.2) when debugging node.js code?
See Question&Answers more detail:osIs there a way to display colors (like in a terminal) in the Debug Console of Visual Studio Code (Version 1.10.2) when debugging node.js code?
See Question&Answers more detail:osI guess so far the best way is to put your debug output into alternate destinations:
In Launch Configuration Attributes the console
setting can be set to one of the following: internalConsole
(default, the builtin Debug Console) externalTerminal
(external cmd window) or integratedTerminal
(the VS Code terminal).
The external terminal command line can further be specified in the VS Code Settings under one of the following: terminal.external.windowsExec
, terminal.external.osxExec
, and terminal.external.linuxExec
from the default that is your default os terminal.
Source: VS Code docs, for example for node.js: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_launch-configuration-attributes