Skip to main content
CES5209
Explorer
September 30, 2026
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.