Issue
I am more used to Spyder and very new in vsc. In Spyder you have a python console where you can quickly try a codesnipped like:
print(len(a))
without having to run the entire code. Is that also possible in vsc? I have not seen anything.
In addition, I can only see the variables in the debug mode. In Spyder I have all variables after one run at hand and can try and experiment on the fly with them. Is there another Variable-viewer plugin or how could that be enabled?
Solution
You can use this extensions of python. It has a Jupyter Notebook feature that comes with a variable explorer. It is recommended to also add the Jupyter extension as well (they work together just fine), you can find it here.
You can read this documentary about how to use Jupyter with visual studio code, you can see that it shows how to display the variables the way you wanted.
Answered By - Omer Tal
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.