How to debug the web page in Android app?

this is something in chrome after I turned on debug mode on my phone. Now I want to debug version 53 of webview, instead of using chrome to open the web page to see the effect. I want to know if there are any js errors in the web page.


remote debugging tools you already have, you just need to turn on the debugging function of webview . For more information, please see the WebView.setWebContentsDebuggingEnabled method mentioned in https://blog.csdn.net/freshlo.[https://blog.csdn.net/freshlover/article/details/42528643/]. However, depending on the version of api, the name of this method may also be different, you can search Google's official documentation.


vConsole learn about

Menu