Add-Debugger
2.2.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").
But it may replace and improve existing debuggers ("ConsoleHost").
The script is called at any moment when debugging is needed. To restore
the original d
It is useful for hosts with no own debuggers, e.g. Visual Studio NuGet
console ("Package Manager Host"), bare runspace host ("Default Host").
But it may replace and improve existing debuggers ("ConsoleHost").
The script is called at any moment when debugging is needed. To restore
the original d
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").
But it may replace and improve 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
or PSReadLine if this module is imported, with its addons, e.g.
https://www.powershellgallery.com/packages/GuiCompletion
Show more
It is useful for hosts with no own debuggers, e.g. Visual Studio NuGet
console ("Package Manager Host"), bare runspace host ("Default Host").
But it may replace and improve 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
or PSReadLine if this module is imported, with its addons, e.g.
https://www.powershellgallery.com/packages/GuiCompletion
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