DEV Community

Discussion on: How to use PowerShell with Visual Studio Code like a Pro [2023 Edition]

Collapse
 
gbrueckl profile image
Gerhard Brueckl

Hi,

I just starting PowerShell development using VSCode coming from a PowerShell ISE and the feature I am missing the most is the ability to view currently defined variables and their values WITHOUT having to start a debug session and using break points.

Ideally the debug pane is visible showing local variables in the current PowerShell session and I can execute code from my ps1 file using F8 or write my code directly in the PowerShell terminal to e.g. modify variables

Is this possible at all?

kind regards,
-gerhard

Collapse
 
kasuken profile image
Emanuele Bartolesi

There is a new capabilities in VS Code.
thomasmaurer.ch/2020/03/how-to-use...
Check it!
I have to update this post! :)

Collapse
 
gbrueckl profile image
Gerhard Brueckl

thanks for the reply!
will check out the linked post