Skip to content

Debug console uses unexpected text colours for some strings #34043

@DanTup

Description

@DanTup

Add the following code in an extension:

console.log('true vs true');
console.log('true vs false');
console.log('false vs true');
console.log('false vs false');

When it runs, the colours of the output lines are inconsistent:

Debug colours

Looking in the dev tools, it seems the blue lines have boolean in their CSS class which is missing from the white lines. It seems strange that true vs false and false vs true are categorised differently.

Dev tools

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions