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 Chrome2 on both PC and Android phones. Connect your phone's PC with USB 3. On your phone, open USB debugging 4, Developer options, settings. Open PC side chrome and enter chrome://inspect/#devices选中discover USB devices in the address bar. You can see our mobile device as shown in: 5. Accessing the page in Chrome on the phone side such as: m.haha.sogou.com sync, we will see on the PC side of chrome on the phone side of the page visited, 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!
Mobile Debugging-Andro +chrome