setWebContentsDebuggingEnabled method

Future<void> setWebContentsDebuggingEnabled(
  1. bool debuggingEnabled
)

Enables debugging of web contents (HTML / CSS / JavaScript) loaded into any WebViews of this application. This flag can be enabled in order to facilitate debugging of web layouts and JavaScript code running inside WebViews. Please refer to WebView documentation for the debugging guide. The default is false.

debuggingEnabled whether to enable web contents debugging.

NOTE: available only on Android 19+.

Officially Supported Platforms/Implementations:

Implementation

Future<void> setWebContentsDebuggingEnabled(bool debuggingEnabled) {
  throw UnimplementedError(
      'setWebContentsDebuggingEnabled is not implemented on the current platform');
}