Please enable JavaScript to view this site.

PrimalScript - Help Manual

Navigation: Script Debugger > Integrated Script Debugger

PowerShell Debugging Console

Scroll Prev Top Next More

PrimalScript includes a special debugger console for Windows PowerShell scripts. It lets you debug in 32-bit and 64-bit mode and you can elevate the debugger to run as administrator.

The Variables pane displays the values of the Windows PowerShell automatic variables, as well as variables that are defined in the script:

The Watch pane displays selected variables and their values, rather than looking at all the variables at once.

To add a variable to the Watch pane

In the code editor, click the variable, and then drag it into the Watch pane:

The Debug Console lets you interact with the script runspace while you are stopped at a breakpoint:

 You can run commands to provide additional information, change the value of variables, or experiment with what-if conditions.

 

See also:

Evaluating Expressions

PrimalScript Editor

Getting Help

 

SAPIEN Technologies, Inc. provides administrative tools to support all of your Windows scripting needs.