Debugging Android Front-end pages with chrome

Source: Internet
Author: User

when it comes to mobile development, we often use Chrome's own simulator to simulate a variety of mobile devices. But simulation is simulation after all, when the development is complete, using the real machine to access the page problems when debugging?

Here is a debugging method for Android


1.Install the latest version of Chrome on both PC and Android phones
2.Connect your phone's PC with USB
3.USB Debugging on "Settings", "Developer Options", open in your phone

4.open PC side chrome and enter chrome://inspect/in the address bar #devicesSelect Discover USB devices. Can see our mobile device as shown in:

5.To access pages in chrome on the phone, such as: m.haha.sogou.com sync, we will see the page on the PC side of chrome on the phone side, as shown in
6.Click on the inspect, the familiar debug interface appears!

Note the phone icon in the upper right corner of the picture, click, the effect is more acid cool. The phone's open page is pulled directly onto the PC to show it. Debug more with less!




Debugging Android Front-end pages with chrome

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.