visual-studio-code

How to change the debugger "background hints" text color in VS Code?


How to change the "background hints" color in debug mode in vscode?

In the image, I mean to the background yellow color of y=1, x=1 from the right (not the yellow background color of the current debug line in the import line).

Colors example for reference:

colors example


Solution

  • Try these colorCustomizations:

      "workbench.colorCustomizations": {
    
        "editor.inlineValuesForeground": "#f00",
        "editor.inlineValuesBackground": "#0066ff33"
    }
    

    You'll probably want some opacity on that background - the last 2 digits of 8 digit hex or the last digit of a 4 digit hex.