Android – Google Chrome for Android Remote Debugging – “localhost:9222” Not Available

androidgoogle-chromegoogle-chrome-devtoolsremote-debugging

I'm following the steps to enable remote debugging (https://developers.google.com/chrome/mobile/docs/debugging). When I reach step 4, Chrome for Desktop returns with "This webpage is not available".

"Enable USB Web Debugging" is checked in Chrome for Android.

"USB Debugging" is enabled on my device (rooted Nexus S, CM9).

The "adb devices" command return with, "device number device".

The "adb forward…" command returns with:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

I'm running the latest ADB on Windows 7, cmd as Administrator.

Best Answer

I found that I had to have USB debugging enabled on Chrome and on my device.

  1. Chrome for Mobile - Settings > Developer Tools > [x] Enable USB Web debugging
  2. Device - Settings > Developer options > [x] USB debugging
  3. Connect Device to Computer
  4. Enable port forwarding on Computer

    C:\adb forward tcp:9222 localabstract:chrome_devtools_remote

  5. Go to http://localhost:9222 in Chrome for Computer