Home > database >  Default expanded variables in VSCode Java debugger
Default expanded variables in VSCode Java debugger

Time:08-24

I'm using VSCode for Java development, and at some point in time, the debugging variables do not show the toString() results by default. I have to click on the eyeball icon that has "Click to expand" tooltip. In the example below, the Boolean before and after expanding. Stepping through the code cases the view to reset to non-expanded. How do I get the value to show by default?

Variables view

Variables view after expanding

CodePudding user response:

You can enable this setting debug.autoExpandLazyVariables

  • Related