how to enable WebKit's remote debugging/inspector of Android app using WebView?

前端 未结 5 1999
野趣味
野趣味 2020-12-06 05:27

I need to inspect javascript execution (webview widget) in an android application, while debugging; through SDK & usb cable and/or http/websockets; from destop compute

5条回答
  •  -上瘾入骨i
    2020-12-06 06:12

    You can do remote debugging targeting the Android Browser with the weinre project. Or use Chrome remote debugging with the Chrome for Android browser. As far as I know, you can't target a WebView directly, but targeting the Android Browser should get you close.

提交回复
热议问题