8

I don't have an Android phone or tablet, and it seems that on some Android devices using stock browser my website is stuck for half a minute until it loads.

I've been testing with various emulators found online like BrowserStack, etc. The browser is just stuck for a while. That's not the case for iPhone or desktop.

How can I debug this issue? How can I see a developer console or errors or figure out what's causing the slowness?

Ahmed
  • 1,669
  • 4
  • 14
  • 16
  • possible duplicate of [How can I debug javascript on Android?](http://stackoverflow.com/questions/2314886/how-can-i-debug-javascript-on-android) – givanse Feb 02 '14 at 17:46

2 Answers2

3

You can use Remote Debugging with Chrome for Android if the problem happens on this browser (which is the default browser on recent Android versions)

How to use Remote Debugging with the emulator


If the issue only occurs with the legacy Android browser, you might be able to get some information by monitoring the http requests with Fiddler

How to use Fiddler with Android

Community
  • 1
  • 1
nicopico
  • 3,606
  • 1
  • 28
  • 30
  • I thought he didn't had an Android device? Without an android device, he can't remote debug, right? At leats one of the devices needs to be an android. – Peter Westerlund Feb 08 '20 at 14:45
1

These links will help you debug code in general without having a physical android.

Android studio user guide on debugging: Start, Projects and Tools.

Google developers page.