public void Init()
        {
            _runspace = RunspaceFactory.CreateRunspace();
            _runspace.Open();

            _debuggingService = new PowerShellDebuggingService();
            _debugger         = new ScriptDebugger(true, _debuggingService);
            _debuggingService.CallbackService = new DebugServiceEventsHandlerProxy(_debugger, false);
        }
Exemplo n.º 2
0
 public void Init()
 {
     _debuggingService = new PowerShellDebuggingService();
     _host             = new ScriptDebugger(true, _debuggingService);
 }