Geek Yogi

  • JavaScript
  • HTML5
  • CSS 3
  • Android
  • My Hands
  • Random
  • Archive
  • RSS
  • Ask me ...
  • Submit

Remote Web Debugging - Chrome on Android

I always have looked forward to Chrome, my favorite browser. Apart from being an awesome browser for a normal user, it has so much to offer than Web Development alone.

I was extremely happy to know that it also exists for Android (ICS). Chrome (Beta) is a browser from another world. You can save pages offline and Sync everything, even the open tabs, to and fro - for eg.

Recently added feature called Web Debugging is what made me write this post. Chrome Beta allows you to Debug open Web Pages on your Android right into your browser.

Following is the steps you would follow for having a glimpse of what it looks like

1. Get Chrome Beta installed on your device. If your device is not supported, booo! this post is not for you

2. Head over to Terminal (any Shell Command Prompt) and put this command

adb forward tcp:8080 localabstract:chrome_devtools_remote

This assumes:

  • You have installed Android SDK and / or you have adb commands available at the shell
  • You can connect to the device using adb, or can see the devices by issuing adb devices

3. Head to Chrome on Mobile => Settings => Developer Tools and Enable USB Web Debugging

4. Open a website on Phone


4.5 Request the Site’s Desktop version if you want to

5. Open localhost:8080 (replace 8080 by whatever port no. you set in Step 2.) You will be greeted with similar page if everything was OK (Click on it to enlarge)

6. Start debugging. I think your eyes are familiar to this screen (Click on it to Enlarge):

You can also Audit the page for CSS optimization and other Performance

Now thats cool

    • #Android
    • #Google Chrome
    • #Web Development
    • #exp
  • 11 months ago
  • Comments
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Recent comments

Blog comments powered by Disqus
← Previous • Next →

Om Shankar

Avatar Full-time curiosity-employed ever-learning engineer, who loves contributing to Web & Technology

Me, Elsewhere

  • @om_invincible on Twitter
  • Facebook Profile
  • om-shankar on Soundcloud
  • My Skype Info
  • Linkedin Profile
  • OmShiv on github

Twitter

loading tweets…

Following

  • staff
  • swiftx
  • picaflor-azul
  • 14islands
  • dabbletapp
  • voronianski
  • taitems
  • hjortureh
  • webkitbits
  • thorsteinsson

I liked these postes

  • Post via hacklr
    Rendering Backbone Collections with DocumentFragment

    I’ve been hearing a lot about DocumentFragment lately and how it can improve performance by...

    Post via hacklr
  • Link via fluidbyte
    From Basic SPA to MV*

    Over the past several weeks, when not bogged down with my day-job or managing Codiad I’ve been working with ...

    Link via fluidbyte
  • Link via kazu69
    BackBone Model Unit Testing with Jasmine | Ken Tabor's Dev Articles
    Link via kazu69
  • Link via clye
    browserify
    Link via clye
See more →
  • RSS
  • Random
  • Archive
  • Ask me ...
  • Submit
  • Mobile

Om Shankar - Adobe Systems.

Effector Theme by Pixel Union