title: Android Management API / Kiosk Mode: How to debug?
body: <p>How can I debug an Android device that is set to <code>installtype: KIOSK</code> using the Android Management API? I have set <code>debuggingFeaturesAllowed</code> to <code>true</code> but <code>adb devices</code> does not even show the device when attached via USB cable. Is there a way to get a console output from such a device?</p>
  
  <p>I'm currently using the following policy on the device:</p>
  
  <pre><code>{
    "name": "enterprises/LC0999999/policies/policy1",
    "version": "13",
    "applications": [
      {
        "packageName": "com.package.name",
        "installType": "KIOSK",
        "defaultPermissionPolicy": "GRANT"
      }
    ],
    "keyguardDisabled": true,
    "debuggingFeaturesAllowed": true
  }
  </code></pre>