User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

PrimalScript makes debugging modules a bit easier. If you are developing a script module you most likely already have a script that exercises the various cmdlets in your module. Just load that script and your psm1 file into PrimalScript, set your breakpoints and hit F5 with your module file active.

load that script and your psm1 file into PrimalScript, set your breakpoints and hit F5 with your module file active

This dialog will show you all the open PowerShell scripts. Just select the one you use to drive or test your module and press OK.

This dialog will show you all the open PowerShell scripts. Just select the one you use to drive or test your module and press OK.

And there we are, hitting the breakpoint inside your module. It’s as simple as that.

All other debugging functions, including the debug console work just as always. We hope that makes it a bit easier for you to develop modules and re-use your code.


This feature requires PrimalScript v6.5.132 or higher.
This is also be supported in PowerShell Studio v3.1.9 or higher.

If you have questions about our products, please post in our support forum.
For licensed customers, use the forum associated with your product in our Product Support Forums for Registered Customers.
For users of trial versions, please post in our Trial Software Questions forum.
Copyright © 2017 SAPIEN Technologies, Inc.