Skip to content

Commit a31d92f

Browse files
committed
Make webview debuggable with chrome://inspect
1 parent a7d4013 commit a31d92f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/dev/vendicated/vencord/MainActivity.java

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ public class MainActivity extends Activity {
2525
protected void onCreate(Bundle savedInstanceState) {
2626
super.onCreate(savedInstanceState);
2727

28+
// https://developer.chrome.com/docs/devtools/remote-debugging/webviews/
29+
WebView.setWebContentsDebuggingEnabled(BuildConfig.DEBUG);
30+
2831
setContentView(R.layout.activity_main);
2932

3033
wv = findViewById(R.id.webview);

0 commit comments

Comments
 (0)