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