Mobile Web Debugging on your Android Device
- December 11th, 2013
- Posted in Uncategorized
- Install Chrome Canary
- Plug your phone into your dev machine with a USB cable.
- Browse to chrome://inspect/# on Chrome Canary, and click Discover USB Devices. It’ll look like the following picture

- IF YOUR PROJECT IS NOT RUNNING ON “localhost:####” then skip to step 7.
- Set up port forwarding to whatever port your localhost project is running on
- Put that url into the “Open tab with url” field on your chrome canary and it will open a dev window for you. You’re done!
- Root your phone http://www.androidcentral.com/root
- Install SuperSU
- Install Hosts Editor
- Run Hosts Editor
- Allow SuperSU to give Hosts Editor sudo privlidges
- Add a new line to Hosts Editor that matches your dev machine’s hostfile for your project.
- Go back to step 6.
If you're reading this, thanks.
No comments yet.