4

the samsung browser is not chrome nor android stock browser. And our webdev teams has some bugs that only show up on this specific browser (which i'm inclined to call android's IE6)

Is there any way i can remote debug it like i can do with chrome or firefox? Either on an emulator or a real device.

  • check this developer.chrome.com/devtools/docs/remote-debugging – DeadMan Dec 17 '15 at 14:16
  • @Abdulla this only works for the Chrome browser on the android device, nothing else. (mozilla also has their own flavour of this) – gcb Dec 17 '15 at 14:34
  • Which browser version and Android version are you using? Which Samsung device specifically it is? – Firelord Dec 17 '15 at 20:07
  • @gcb tell us what browser exactly you are using to test your website. whatismybrowser.com to check the user agent info. You can try firebug lite mobile or weinre – Lucky Dec 18 '15 at 7:24
  • 2
    it's the "Internet" app on samsung devices. user agent string is Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; GT-P5210 Build/KOT49H) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 my best guess is the stock android browser with some samsung bugs added – gcb Dec 22 '15 at 13:11
5

The new Samsung Internet browser is based on the Chromium browser and thus supports its remote debugging interface.

  1. Enable USB debugging on your device as described here.
  2. Then connect your device via USB (Oh, surprise!).
  3. Visit chrome://inspect on your computers Google Chrome browser and you will be guided to create the connection:

    Chrome inspect

  4. Then you just have to click on the devices inspect link and an developer tools window will pop up.

More info like why there is an Samsung Internet Browser at all can be found here.

1

Type about:debug or about:console in a new tab (one of these will work), then try to send something to the console.log in your javascript..

At the top of your page will appear "SHOW JAVASCRIPT CONSOLE", click on it and you will have the console log with the possible error message you are looking for.

  • 1
    This doesn't work on my Galaxy Tab A (2016). – jlh Jun 9 '17 at 7:18
  • 1
    this does not work on s8+ – Nils_e May 14 '18 at 20:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.