Add-Debugger

2.0.0

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

The script is called at any moment when debugging is needed. To restore
the original de
The script adds or replaces existing debugger in any PowerShell runspace.
It is useful for hosts with no own debuggers, e.g. Visual Studio NuGet
console ("Package Manager Host"), bare runspace host ("Default Host").
And it may be used instead of existing debuggers ("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 or a file with a
separate console started for watching its tail.

For input the input box is used for typing PowerShell and debugger
commands. Specify the switch ReadHost for using Read-Host instead.

PowerShell commands are invoked in a child of the current scope. In order
to change current scope variables you would use `Set-Variable -Scope 1`.
But the script recognises `$var = ...` and assigns in the proper scope.

Show more

Installation Options

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

Install-Script -Name Add-Debugger -RequiredVersion 2.0.0

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 177 3/23/2024
2.3.0 9 3/22/2024
2.2.1 224 8/20/2022
2.2.0 75 8/19/2022
2.1.0 79 8/16/2022
2.0.0 (current version) 80 8/15/2022
1.2.0 81 8/13/2022
1.1.0 79 8/11/2022
1.0.0 79 8/10/2022
Show less