title: Error in Acumatica while working in Debug Mode ?? JSManager.GetBatchMode
body: <p>I have been working With Acumatica and it runs quite nicely in IIS. However in the Visual Studio Web Express Debug Mode - I am unable to run. Error in JSManager.GetBatchMode ! What are steps to be done to run in Debug !</p>
  
  <p>The Code is as follows.</p>
  
  <p>protected override void OnInit(EventArgs e)
      {
          this.InitializeControlsOnInit();
          this.CheckLastScreenAccess();</p>
  
  <pre><code>    if (!this.IsCallback)
      {
          var renderer = JSManager.GetRenderer(this);
          var scriptFiles = new List&lt;string&gt;();
          PXContext.Session.PXSharedScriptFiles[JSManager.SharedScriptFilesKey] = scriptFiles;
          if (JSManager.GetBatchMode())
  </code></pre>