Brian Michalk
Brian Michalk

Reputation: 170

Default expanded variables in VSCode Java debugger

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

Upvotes: 5

Views: 1456

Answers (1)

Sheng Chen
Sheng Chen

Reputation: 1265

You can enable this setting debug.autoExpandLazyVariables

Upvotes: 6

Related Questions