0 votes

I'd like to properly debug PowerShell runspaces used in Adaxes. Is the PowerShell Debugger safe to use with Adaxes? It's use would allow PowerShell developers to use proper external PowerShell debugging tools.

Specifically, I'm referring to the use of Wait-Debugger in Adaxes PowerShell runspaces (https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/wait-debugger?view=powershell-5.1)

I've tested it with a PowerShell runspace used in an Adaxes Custom Command, and it seemed to work without any problems, but PowerShell runspaces can be used in multiple areas of the Adaxes software (Eg: Reports, Scheduled Tasks, Business Rules, Custom Commands).

Is the PowerShell debugger safe to use everywhere PowerShell is available without causing time-outs, race conditions etc.?

by (210 points)

1 Answer

0 votes
by (270k points)

Hello,

As per our tests, the Wait-Debugger cmdlet works just fine in Adaxes scripts. However, it just stops the script at a certain point. As such, we recommend to just use the return command instead.

0

Yes, that is by design. To return control back to the script you need to hook up the debugger and instruct it to release control, then, flow will continue as normal.

Related questions

0 votes
1 answer

If we switch to SSL is the portal considered secure enough to be exposed to the internet on 443?

asked Jan 12, 2015 by auser42 (340 points)
0 votes
1 answer

Hi All, I am currently using the 30 day free trial of Adaxes and seeing if we can use it to achieve our method of user provisioning. I am looking into server-side ... variable value within an SQL query Can this be achieved? Any help is much appreciated, Thanks

asked Feb 1 by Lewis (40 points)
0 votes
1 answer

As the title says is it still a requirement?

asked Feb 23, 2023 by techg (320 points)
0 votes
1 answer

I am wanting to export a list of users including the properties of a specific custom attribute. Ideally, I would be able to run a get-admuser and filter on a custom attribute, but even an excel report with the custom attributes would work. Is this possible?

asked Sep 9, 2021 by ggallaway (300 points)
0 votes
1 answer

I have 18 domains managed by Adaxes and have noticed that Admin (full access) t all objects acts normally, but for piecemeal scopes like Service Desk that scopes to individual ... role (including 16 denies) and expect it to grow as we add more domains.

asked Sep 20, 2022 by DA-symplr (80 points)
3,326 questions
3,026 answers
7,727 comments
544,679 users