Microsoft.JScript.Vsa.VsaEngine.CreateEngineForDebugger C# (CSharp) Method

CreateEngineForDebugger() static private method

static private CreateEngineForDebugger ( ) : VsaEngine
return VsaEngine
      internal static VsaEngine CreateEngineForDebugger(){
        VsaEngine engine = new VsaEngine(true);
        engine.InitVsaEngine("JScript.Vsa.VsaEngine://Microsoft.JScript.VsaEngine.Vsa", new DefaultVsaSite());
        GlobalScope scope = (GlobalScope)engine.GetGlobalScope().GetObject();
        scope.globalObject = engine.Globals.globalObject;
        return engine;
      }