How to debug Android's native browser (not Chrome) on a desktop machine? How to debug Android's native browser (not Chrome) on a desktop machine? android android

How to debug Android's native browser (not Chrome) on a desktop machine?


about:debug works for JavaScript console at least. Helped me to see why it is broken on those native, WebView based and limited browsers.


You can use chrome://inspect as well for this just make sure your native browser is running as you can't launch it like you can chrome from that page.

Also if it's not showing on the list using adb to list the devices will usually fix this.

adb devices

For a complete instruction you should look at the android documentation about this topichttps://developer.chrome.com/devtools/docs/remote-debugging


You can use the Chrome developer tools to debug a mobile website running in the stock Android browser, in a similar way that you can do debugging when the website's running on Chrome for Android:

If you haven't already done this, follow all steps in the accepted answer here, to enable debugging using the Chrome dev tools (on your desktop computer):

Chrome DevTools Devices does not detect device when plugged in

  • Now, with your device connected to your computer, open your web page in the stock Android browser. Go to the Chrome dev tools, where you should see your device connected, and you should see something like this (with the usual 'inspect' button off to the right hand side). Click the 'inspect' button and you're in - you can debug the stock Android browser using the Chrome dev tools!

enter image description here