Spectra Assure
Community
passEverything is awesome!
Scanned: 2 days ago

Add-Debugger

latest
The script adds or replaces existing debugger in any runspace. It is useful for hosts with no own debuggers, e.g. 'Default Host', 'Package Manager Host', 'FarHost'. 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. Console like hosts include 'ConsoleHost', 'Visual Studio Code Host', 'Package Manager Host'. They imply using Read-Host and Write-Host by default. Other hosts use GUI input box and output file watching. Env data are saved as "HKCU\Software\VB and VBA Program Settings\Add-Debugger\<env>". Env "$shared" keeps common data, users may change: - "watch_app", "watch_args" Watcher application and its arguments. (1) "watch_app" may be "pwsh" or "powershell" with empty "watch_args". (2) "watch_app" may be "wt" with "watch_args" ending with "pwsh" or "powershell": watch_app : wt.exe watch_args : --window -1 --pos 0,0 --size 80,50 --title Debug pwsh.exe - "history" History of typed PowerShell statements (automatically updated 50 last items).
License: unknown
Published: 7 months ago

SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
No sensitive information found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
No application hardening issues

Threats

Tampering
No evidence of software tampering
Malware
No evidence of malware inclusion

This website uses cookies to ensure the best website experience. By continuing to use this website you are giving your consent to cookies being used. Detailed information about our use of cookies is here.