Any way to save variables to WorkSpace from the Debug Console in VSCode?

I seem to be able to edit existing workspace variable values from the debug console, but I am not able to define new variables.

image

image

I want to be able to test and play with the next line after my breakpoint before actually stepping the debugger and erroring out my whole session, but this limitation makes it difficult.
image

Is there any way to get a full REPL session with the environment as it would be inside some nested function?

1 Like