I’m encountering an issue while debugging in Visual Studio Code. When I define a new variable in the debug console, I get an error saying the variable is not defined when I try to access it.
I’m using VS Code version 1.90.1
You can see the image, by clicking on this link.
I always use debugging. Previously, I always set a breakpoint, and when I reached the breakpoint, I could define any new variable in the debug console. However, today I encountered this issue: I cannot define new variables in the debug console. I searched on Google, but I did not find anything.