Genymotion how to debug with Chrome Dev Tools

Nico Pernice picture Nico Pernice · Feb 7, 2014 · Viewed 33.5k times · Source

We're using Genymotion to test/debug a WebView based Android Application. The device show up in Chrome Dev Tools via Inspect Device, but with no inspection ability. We made different attempts, with/whitout ADB, with/whitout Android Studio but with no luck. What's wrong/missing ?

Answer

Harsha Vardhan picture Harsha Vardhan · May 27, 2014

See the official docs on enabling debugging on Android

  1. Start up your Virtual Device and, inside the virtual device, enable "USB debugging" by going to Settings > Developer Options > USB Debugging. If you get a prompt that says "always allow USB debugging", press "OK". If you don't see the option for Developer Options, first goto Settings > About Phone/Tablet, find Build Number, and tap it about 10 times. Go up one menu and find the Developer Options menu now enabled above the About menu options.

  2. Go to Chrome on your Host OS. type chrome://inspect in the url and press enter.

  3. Check the box at the top that says "Discover USB Devices". There should now be a list of virtual devices currently available to Chrome. Find the device you want to debug and click the inspect link.

  4. A new Chrome Developer Tools window should open up containing the code for the page you're currently viewing in your browser, and should show the "Emulation" tab at the bottom with information about your device specs.

If you are not able to get this working then check the following items:

  • Check port forwarding.
  • Proxy settings.
  • USB driver installation.