enableDebugging static method

Future<void> enableDebugging(
  1. bool enabled, {
  2. @visibleForTesting AndroidWebViewProxy webViewProxy = const AndroidWebViewProxy(),
})

Whether to enable the platform's webview content debugging tools.

Defaults to false.

Implementation

static Future<void> enableDebugging(
  bool enabled, {
  @visibleForTesting
  AndroidWebViewProxy webViewProxy = const AndroidWebViewProxy(),
}) {
  return webViewProxy.setWebContentsDebuggingEnabled(enabled);
}