Skip to main content
CES5209
Explorer
Sep 30, 2026 12:37 PM UTC
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
Nov 2, 2026 9:56 AM UTC

Hi ​@CES5209 

give a try to our live watch 

 "liveWatch": {

                "enabled": true,

                "samplesPerSecond": "4"

            }