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
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
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.
Installation Options
Owners
Copyright
(c) Roman Kuzmin
Package Details
Author(s)
- Roman Kuzmin
Tags
Functions
global:Remove-Debugger global:Restore-Debugger global:Write-Debugger global:Read-Debugger global:Watch-Debugger global:Write-DebuggerInfo global:Write-DebuggerFile debug_stack
Dependencies
This script has no dependencies.
FileList
- Add-Debugger.nuspec
- Add-Debugger.ps1