Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does VS code have variable explorer object like we have it in spyder?

I will post the picture of what exactly I am asking variable explorer in spyder

variable explorer in spyder

So do we have this feature in VS code?

I tried a lot to find it on google but was unhappy to not find it.

like image 631
Anil Dhage Avatar asked Aug 31 '25 03:08

Anil Dhage


1 Answers

  1. Open your .py script in vscode
  2. Right click anywhere on the script > Run current File in interactive Window

RightClick

  1. In the toolbar of the interactive window click on the variable icon

Interactive Window

  1. You can now consult the values of variables created by your script

Variable Explorer

like image 119
Alexis Avatar answered Sep 02 '25 19:09

Alexis