Add-Debugger
2.3.0
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,
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 Read-Host for console and GUI for other hosts.
Show more
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 Read-Host for console and GUI for other hosts.
Installation Options
Owners
Copyright
(c) Roman Kuzmin
Package Details
Author(s)
- Roman Kuzmin
Tags
Functions
global:Remove-Debugger global:Restore-Debugger global:Read-DebuggerState global:Save-DebuggerState global:Write-Debugger global:Read-Debugger global:Read-InputBox global:Watch-Debugger global:Write-DebuggerInfo global:Write-DebuggerFile debug_stack
Dependencies
This script has no dependencies.
FileList
- Add-Debugger.nuspec
- Add-Debugger.ps1