use proper devtools on mobile devices too, but remotely.
Visit chrome://inspect/#devices in a chromium based browser, and you’ll see a list of remote targets that you can connect to.
They include browsers running on any device connectable via ADB. You can also debug over the network, debug headless browsers, and debug nodejs and webdriver instances.
note that the ADB functionality over Chrome sometimes interferes with Android Studio or ADB running locally, so make sure to run adb kill-server
if Chrome can’t find connected devices.
source