Question: 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?

Answer: 
See @ <https://stackoverflow.com/a/55493884/3645650> for lore and roleplay.

Here is just a no brain answer.

|  | Versions |
| --- | --- |
| Tested up to | Visual Studio Code May 2021 (version `1.63`) |

### Text

```
console.log( "\u001b[1;31m Red message" );
console.log( "\u001b[1;32m Green message" );
console.log( "\u001b[1;33m Yellow message" );
console.log( "\u001b[1;34m Blue message" );
console.log( "\u001b[1;35m Purple message" );
console.log( "\u001b[1;36m Cyan message" );

```

### Background

```
console.log( "\u001b[1;41m Red background" );
console.log( "\u001b[1;42m Green background" );
console.log( "\u001b[1;43m Yellow background" );
console.log( "\u001b[1;44m Blue background" );
console.log( "\u001b[1;45m Purple background" );
console.log( "\u001b[1;46m Cyan background" );

```

### Reset

```
console.log( "\u001b[0m Reset text and background color/style to default" );

```

### Example

```
console.log( "\u001b[1;31m --process: Error" + "\u001b[0m" );

```
Adding the `--colors` argument worked for me. (I'm using jest).

```
{
  "version": "0.2.0",
  "configurations": [{
    "type": "node",
    "name": "vscode-jest-tests",
    "request": "launch",
    "args": ["--colors"],
    "runtimeArgs": [
      "--inspect-brk",
      "${workspaceRoot}/node_modules/.bin/jest",
      "--runInBand"
    ],
    "cwd": "${workspaceFolder}",
    "console": "integratedTerminal",
    "internalConsoleOptions": "neverOpen",
    "port": 9229
  }]
}

```