Testing process, often encountered some strange bugs, such as the same Android phone, the same browser, vivo Test no problem, but Samsung will error, this time, the use of USB debugging is very convenient, the specific steps are as follows:
Prerequisites:
1, must be Android phone, iOS currently no developer Options feature
2, Android phone must install Chrome browser, can directly debug
Steps:
1. Data cable connected to mobile phone and computer
2. Open the PC-side Chrome browser and click F12
3. Click on the top right corner and select more Tools--> Remote devices
4, mobile phone, access settings-developer Options-->USB Debugging open, the system will prompt "whether to allow ... ", all points allowed, check the computer side, such as status, that is, the connection is successful
5, mobile phone, using Chrome browser, or app, access to test the page
6, the computer side, open chrome://inspect/#devices, that can see the 5th step to visit the page, such as
Click Inspect to continue debugging, just like debugging a Web page on your computer.
Content reference: https://www.cnblogs.com/JinQingsong/p/6591830.html
Android USB Debugging function