debugTokenExpression.name
debug token expression name. Foreground color for the token names shown in debug views (such as in the Variables or Watch view).
Group: Debug colors
Where debug token expression name paints
This sample moves from #cccccc to #f5d76e, then back.
How to change debug token expression name color in Visual Studio Code
macOS
- Open settings.json. Press Shift+Command+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
- Set this color id. Add debug token expression name under workbench.colorCustomizations. Foreground color for the token names shown in debug views (such as in the Variables or Watch view). Use a hex color such as #f5d76e.
- Save the file. Press Command+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
Windows
Linux uses the same shortcuts.
- Open settings.json. Press Shift+Ctrl+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
- Set this color id. Add debug token expression name under workbench.colorCustomizations. Foreground color for the token names shown in debug views (such as in the Variables or Watch view). Use a hex color such as #f5d76e.
- Save the file. Press Ctrl+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
{
"workbench.colorCustomizations": {
"debugTokenExpression.name": "#f5d76e"
}
}Other Debug colors
- debugToolBar.background
Debug toolbar background color.
- debugToolBar.border
Debug toolbar border color.
- editor.stackFrameHighlightBackground
Background color of the top stack frame highlight in the editor.
- editor.focusedStackFrameHighlightBackground
Background color of the focused stack frame highlight in the editor.
- editor.inlineValuesForeground
Color for the debug inline value text.
- editor.inlineValuesBackground
Color for the debug inline value background.
- debugView.exceptionLabelForeground
Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.
- debugView.exceptionLabelBackground
Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.
- debugView.stateLabelForeground
Foreground color for a label in the CALL STACK view showing the current session's or thread's state.
- debugView.stateLabelBackground
Background color for a label in the CALL STACK view showing the current session's or thread's state.
- debugView.valueChangedHighlight
Color used to highlight value changes in the debug views (such as in the Variables view).
- debugTokenExpression.value
Foreground color for the token values shown in debug views.
- debugTokenExpression.string
Foreground color for strings in debug views.
- debugTokenExpression.boolean
Foreground color for booleans in debug views.
- debugTokenExpression.number
Foreground color for numbers in debug views.
- debugTokenExpression.error
Foreground color for expression errors in debug views.
- debugTokenExpression.type
Foreground color for the token types shown in the debug views (ie. the Variables or Watch view).