Chrome remote debugging

1. Connect android phone to desktop via USB.

2. Make sure USB debugging enabled and  connected.

3. Open chrome from the android device, go to Settings > Developer tools, make sure USB Web debugging is enabled.

4. On your host computer, run
adb forward tcp:9222 localabstract:chrome_devtools_remote
 5. You shall see following message,
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
6. On you host computer, open chrome and browse to localhost:9222.

7. You may now start debugging your mobile page.

No comments:

Post a Comment