18

I'm wondering how to set values of variables that I can see at a breakpoint while debugging in Visual Code. I'm using Version 1.20.1.

I just can't press on Set Variable.enter image description here

Mous Kamel
  • 257
  • 1
  • 2
  • 11

1 Answers1

34

You need to use the DEBUG CONSOLE, and put the variable and the value:

$variable = "value"

Example $variable = "value"