Tuesday, April 07, 2009

PowerShell Breakpoints!!!

PowerShell is one of those things that is just too cool. For the longest time I've been writing scripts, and when I run out of road with scripts I would resort to managed code. The debugging environment for managed code is excellent with breakpoints and such, which is why I would tend to favour managed code.

Today while fiddling with a PowerShell script I tried running it in the PowerShell ISE (Integrated Scripting Environment). Had this sneaky little icon been named PowerShell IDE I might have clued in earlier.

Anyhow, running scripts in here gives you the command line feel, but also gives you breakpoints if you want to stop a script mid-stride to analyze the environment and variables.

AWESOME!

No comments: