Add-Debugger

1.1.0

This script is for PowerShell hosts with no own debuggers, e.g. Visual
Studio NuGet console ("Package Manager Host"), the default runspace host
("Default Host"). But it may be used instead of the default debuggers as
well ("ConsoleHost").

The script is called once at any moment when debugging is needed. In order
to restore the original debugger, invoke Restore-Debugg
This script is for PowerShell hosts with no own debuggers, e.g. Visual
Studio NuGet console ("Package Manager Host"), the default runspace host
("Default Host"). But it may be used instead of the default debuggers as
well ("ConsoleHost").

The script is called once at any moment when debugging is needed. In order
to restore the original debugger, invoke Restore-Debugger which is 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 `$name = ...` and assigns the "proper" $name.

Show more

Installation Options

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

Install-Script -Name Add-Debugger -RequiredVersion 1.1.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 80 8/15/2022
1.2.0 81 8/13/2022
1.1.0 (current version) 79 8/11/2022
1.0.0 79 8/10/2022
Show less