Force androidwebView to debug mode with Xposed
For more Tencent massive technical articles, please follow the Cloud Plus community: https://cloud.tencent.com/developer
From the article "Getting Started with Remote Debugging for Android Devices" we know that in android 4.4+ you can enable chrome remote debugging for webview by using the following code in the apk.
But the apk's we touch in development are often third party and no one will turn on webContentsdebuggingEnabled for us, and Xposed can force this.
Xposed is able to hook (Hook) android application object's methods to implement AOP, a simple example.