Chrome for Android doesn't have developer tools. So the solution is that you, the developer, connect your phone to your computer, and follow this path to debug your web page:
- Enable USB Debugging on phone
- Connect phone to development machine
- Open chrome on development machine
- Open Developer Tools window (F12 or Inspect)
- Go to Menu => More tools => Remote Devices
- Debug your web page
Now the problem is that a web page that works just fine on a lot of phones, doesn't work in the phone of one of our customers, and we can't ask him to give us his phone in order to be connected to our development machine.
In the world of mobile development, there is this concept of crash reporting where you include a library in your app, and in case of an unhandled exception, it sends telemetric data to a server where you can see what went wrong.
Do we have something similar for web too? How should we debug/troubleshoot this instance of Chrome for Android when we don't have access to the physical device?
Aucun commentaire:
Enregistrer un commentaire