Debugging PowerShell Scripts in Visual Studio Code

  Рет қаралды 17,012

Adam Driscoll

Adam Driscoll

Күн бұрын

Пікірлер: 15
@servercare
@servercare 2 жыл бұрын
I thought I knew how to use the debugger, you still taught me some new tricks! thanks!
@AdamDriscoll
@AdamDriscoll 2 жыл бұрын
Cool! Glad you learned something!
@gerardoverrone4902
@gerardoverrone4902 10 ай бұрын
Amazing! First hit on the search on how to debug PS in VsCode and the complete and perfect explanation comes up! You even cover advance topics! Super Helpful!! Cheers
@Our1stPlanet
@Our1stPlanet 2 жыл бұрын
Excellent, this is how all videos should be.
@NickRoman
@NickRoman 2 жыл бұрын
That's really awesome that there's a way to debug in a job process, especially with the Pro Tools GUI element. Having those kinds of tools is so essential to anyone doing any significant script writing. I know that Powershell has cmdlets for break-points, but figuring out how to use those and remember it is so much harder than just using a GUI element that's right there to click on.
@TheMadMagician87
@TheMadMagician87 Жыл бұрын
Very helpful, thanks for sharing this. I hadn't looked into debugging since doing it on the CLI. This is way better!
@conorpodonoghue
@conorpodonoghue 7 ай бұрын
Excellent tutorial - many thanks for posting.
@idanmashta
@idanmashta Жыл бұрын
when i run a script with a breakpoint in VS code it doesn't enter a [DBG] mode in terminal, tried to change to 'continue', 'Break' still the same, how can i get the script to stop when it reach a breakpoint? thanks
@LOOregano
@LOOregano 5 ай бұрын
this is awesome....cannot get it to work in my vscode environment. I think I need a video on how to get started (all over again) with VScode!
@silversword411
@silversword411 Жыл бұрын
How can you run the script debugging in the SYSTEM context?
@karlstenator
@karlstenator Жыл бұрын
This was an excellent Debug tutorial for Powershell in VS Code - thanks for sharing! May I ask, is there any use for the "DEBUG CONSOLE"? When my code hits a breakpoint, the DEBUG CONSOLE allows me to enter a query, but it more or less just echo's what I type - nothing more or less... Is there any actual function to the DEBUG CONSOLE?
@brianclark3737
@brianclark3737 Жыл бұрын
Great Video Adam. Once question, is how can I run a selection in the debugger, without running the whole script?
@lubeda04
@lubeda04 2 жыл бұрын
Can you make a video on how to debug powershell universal dashboards?
@Bruhfinally
@Bruhfinally 2 жыл бұрын
run and f5 pops open the debugger even without breakpoints for me. how do i disable that behavior?
@AdamDriscoll
@AdamDriscoll 2 жыл бұрын
I think you can use Ctrl+F5 to avoid invoking the debugger.
PowerShell Environment -  about_PowerShell_config
8:40
Adam Driscoll
Рет қаралды 1,4 М.
Debug PowerShell with and without VS Code
40:57
John Savill's Technical Training
Рет қаралды 20 М.
Everything You Need to Know about Debugging in VSCode
7:02
ArjanCodes
Рет қаралды 51 М.
Getting Started with Powershell - Running you first code
12:52
Mike in the Cloud
Рет қаралды 3,5 М.
Getting setup for PowerShell Development
18:42
TechThoughts
Рет қаралды 20 М.
Optimizing Visual Studio Code for Powershell Development
51:26
PowerShell.org
Рет қаралды 15 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 193 М.
Advanced PowerShell - Runspaces
17:04
Adam Driscoll
Рет қаралды 9 М.