Mobile - Android debugging (adb)
How to debug mobile issues
You can connect your mobile to your computer to see your mobile screen on your computer and also see console output from Chrome. So you can put logs into your code and see what is happening.
Install adb (android-tools-adb)
apt-get install android-tools-adb android-tools-fastbootRestart adb server
sudo adb kill-server
sudo adb start-server
//to list attached devices
adb devicesIn Chrome you can then run
chrome://inspect/#devices
In Chrome open Developer Tools (F12) and click on three dots in upper right corner, then More Tools > Remote Devices to see list of attached devices.