Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to keep variables in memory outside of debugging mode in VSCode?

I am writing python code and switched from spyder to VSCode and I'm wondering if there is a way to keep the variables in the memory outside of the debugging mode.

I want to keep the variables to look inside and/or to run just single lines/sections again without running the whole script.

like image 623
user248960 Avatar asked Nov 18 '25 04:11

user248960


1 Answers

I think you want a Jupyter notebook style form of programming.

There is a guide on how to use Jupyter notebooks in VS Code here.

like image 56
Jeremy Savage Avatar answered Nov 19 '25 20:11

Jeremy Savage



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!