In the ActiveRoles Server Management Console, navigate to the script modules container.
Your script will now store debugging information in the debug log. The debug log can be viewed from the same Debugging tab as previously mentioned. Clicking the View Log... button will open the debug log. In the Debug Log window, you have the option the clear the log by clicking the Clear Log button.
Please note that the debugging information displayed in this log is coming from the PowerShell Engine so you may not see as much information as you would see as when debugging withing the Microsoft PowerShell IDE or a PowerShell command window.