Add-Debugger

2.3.1

The script adds or replaces existing debugger in any PowerShell runspace.
It is useful for hosts with no own debuggers, e.g. bare runspace host
"Default Host", Visual Studio NuGet console "Package Manager Host".
Or it may replace existing debuggers, e.g. in "ConsoleHost".

The script is called at any moment when debugging is needed. To restore
the original debuggers,
The script adds or replaces existing debugger in any PowerShell runspace.
It is useful for hosts with no own debuggers, e.g. bare runspace host
"Default Host", Visual Studio NuGet console "Package Manager Host".
Or it may replace existing debuggers, e.g. in "ConsoleHost".

The script is called at any moment when debugging is needed. To restore
the original debuggers, invoke Restore-Debugger defined by Add-Debugger.

For output of debug commands the script uses Out-Host by default.
If Out-Host is not suitable then specify Path for an output file.

Use the switch ReadHost or ReadGui to specify the input method.
By default it is ReadHost in console and ReadGui in other cases.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Add-Debugger

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Roman Kuzmin

Package Details

FileList

Version History

Version Downloads Last updated
2.3.1 (current version) 13 3/23/2024
2.3.0 5 3/22/2024
2.2.1 220 8/20/2022
2.2.0 71 8/19/2022
2.1.0 75 8/16/2022
2.0.0 76 8/15/2022
1.2.0 77 8/13/2022
1.1.0 75 8/11/2022
1.0.0 75 8/10/2022
Show more