Skip to main content
CES5209
Explorer
Question

How to edit variables when debugging in VS Code

I can view the variables concerned either in Watch and Live Watch window, but i have no way to edit them. In Watch window, double-click only allows me to edit the expression instead of its value. VScode document says I can edit variable value in “Variable” window, but i can’t see global variales there.

1 reply

Nawres GHARBI
ST Technical Moderator

Hi ​@CES5209 

give a try to our live watch 

 "liveWatch": {

                "enabled": true,

                "samplesPerSecond": "4"

            }