如何在Powershell中创建支持断点/调试的PSHost?
我需要为此实现特殊功能吗?
最佳答案
System.Management.Automation.Runspaces.Runspace
包含属性Debugger。
将处理程序添加到其事件DebuggerStop
中,并在主机中处理这些事件。
如何在Powershell中创建支持断点/调试的PSHost?
我需要为此实现特殊功能吗?
最佳答案
System.Management.Automation.Runspaces.Runspace
包含属性Debugger。
将处理程序添加到其事件DebuggerStop
中,并在主机中处理这些事件。