title: Phonegap: How to detect android application is running in development mode
body: <p>I need to distinguish if my Phonegap Android app is running</p>
  
  <p>A) in emulator or in phone via USB debug mode</p>
  
  <p>B) normally in phone</p>
  
  <p>Is it even possible? Do you know any trick? I need this for automatic configuration switching between devel and prod... Thanks.</p>