Debugging in the stock browser on a Samsung Galaxy S4 on KitKat

前端 未结 1 1212
南方客
南方客 2021-02-13 03:43

We have a Javascript bug that only appears in the stock browser of the Galaxy S4 (GT-I9505) running KitKat (4.4.2) and we\'re unable to debug it or view the Javascript console.

1条回答
  •  独厮守ぢ
    2021-02-13 03:54

    I don't know if this will work for you, but I have a Galaxy S4 and I was able to see console messages this way:

    1. Plug in your phone, make sure you're getting all the logcat messages
    2. Add this filter: INFO:CONSOLE
    3. Javascript errors are printed under the chromium tag and the "Info" log level

    0 讨论(0)
提交回复
热议问题