Commit graph

6 commits

Author SHA1 Message Date
Pat Hartl
17fa802c19 Implementation of script debugger component with RPC via SignalR 2025-12-10 20:55:38 -06:00
Pat Hartl
e6c12b4809 Refactor script debugging
Instead of providing delegates to a ScriptClient singleton, script execution now relies on dependency injection for debugging. This can be handled by registering an implementation of IScriptDebugger. Multiple script debuggers are supported. These changes required the creation of a PowerShellScriptFactory to handle DI of the service provider to the script.

In the case of LANCommander, "debugging" scripts really just gives an opportunity for the application to break after a script's execution and provide a poor-man's pty. This could be expanded upon in the future to hook directly into PowerShell's debugging functionality, but would require a substantial refactor to script execution.
2025-11-26 01:09:52 -06:00
Pat Hartl
00f74835cf Write variables to console if used directly 2024-09-09 22:34:31 -05:00
Pat Hartl
1cbc3eab56 Rework PS variables, add logo, add script type/working dir, show/hide terminal when script runs 2024-08-16 18:18:02 -05:00
Pat Hartl
ac16ba813b Switched to using xterm-readline, redirect PS output to terminal 2024-08-15 21:33:17 -05:00
Pat Hartl
9038e02bfb Progress on debug console 2024-08-14 13:24:50 -05:00