Add the following code to webView on android, you can debug in chrome, open chrome://inspect/#devices on chrome
if (Constant.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { WebView.setWebContentsDebuggingEnabled(true); }Another way to debug is through vconsle, https://github.com/WechatFE/vConsole