title: Tips on solving 'DevTools was disconnected from the page' and Electron Helper dies
body: <p>I've a problem with Electron where the app goes blank. i.e. It becomes a white screen. If I open the dev tools it displays the following message.</p>
  
  <p><a href="https://i.stack.imgur.com/1T4re.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1T4re.png" alt="enter image description here"></a></p>
  
  <p>In ActivityMonitor I can see the number of Electron Helper processes drops from 3 to 2 when this happens. Plus it seems I'm not the only person to come across it. e.g.</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/50343275/facing-devtools-was-disconnected-from-the-page-once-page-is-reloaded-devtools">Facing &quot;Devtools was disconnected from the page. Once page is reloaded, Devtools will automatically reconnect.&quot;</a></li>
  <li><a href="https://stackoverflow.com/questions/45119526/electron-dying-without-any-information-what-now">Electron dying without any information, what now?</a></li>
  </ul>
  
  <p>But I've yet to find an answer that helps. In scenarios where Electron crashes are there any good approaches to identifying the problem?</p>
  
  <p>For context I'm loading an sdk into Electron. Originally I was using browserify to package it which worked fine. But I want to move to the SDKs npm release. This version seems to have introduced the problem (though the code should be the same).</p>