title: How to debug Ionic app stack at white screen?
body: <p>I have built an ionic app. When I serve it via <code>ionic serve</code> (on browser), everything runs as expected. But when I do build it for android the <strong>app loads</strong>, <strong>shows the splash-screen</strong> and <strong>then just a blank white screen</strong>.</p>
  
  <p>I have built the same app as configured (the cordova part) and replaced the src folder with the boilerplate that comes when you initialize a new app with <code>ionic start</code> and it runs just fine. Leading me to conclude that the problem is in my javascript code.</p>
  
  <p>I would like to know how to debug this and how to find the console output when the device is running on an actual device. Is it possible to view the errors via <code>adb</code> and specifically when running on android?
  Any Help please</p>
  
  <p>My system information:</p>
  
  <p>Cordova CLI: 6.5.0
  Ionic Framework Version: 2.0.0
  Ionic CLI Version: 2.2.1
  Ionic App Lib Version: 2.1.7
  Ionic App Scripts Version: 1.0.0
  OS: Linux 4.8
  Node Version: v7.6.0</p>