Is it possible to debug javascript on Samsung's own browser

I am currently working on an HTML / JS application that will be embedded in iOS and an Android application. Since the Android app is not finished yet, I am testing this in the Chrome browser on Android. I fixed all the problems there, but when I open the same web application in my own browser, nothing works properly.

So my question is: Is there a way to debug in a native browser on an Android device?

In chrome, this was pretty easy with remote debugging .

(Please do not advise me to use the "log" instructions for debugging, because this is not what I am looking for here)

And just to spill my guts: the native Samsung Tablet browser is the only device that causes me a headache!

+6
source share
4 answers

Entering the string about:debug in the address bar of your own browser will switch the "Debug" options in the settings menu.

"Show JavaScript Console" allows you to see JavaScript errors on your web page.

NB. I believe that the JavaScript console will only display if there is an error.

NTN

Nick.

+6
source

You can easily debug your web application using Web Inspector Remote ( weinre ).

Take a look at post to learn how to install and use weinre.

I hope this helps you if this question is still relevant.

+1
source

If you updated your device, you can go to settingsDebug'Remote Debug Enable' After you turn it on, you can debug your own browser just like you can debug chrome.

0
source

You can try vorlon , it has a nice web interface and is very easy to install

& It's free

But if you cannot see clear console errors with volron, you probably want to use the @Nick solution, sometimes complex errors prevent even vorlon or weiner from catching them. Therefore, as soon as you fix the blocking of these problems, perhaps volron will start to catch them correctly

0
source

Source: https://habr.com/ru/post/948609/


All Articles