devtools

abstract var devtools: Boolean?(source)

Whether web inspector, which is usually called browser devtools, is enabled or not. Enabled by default.

This API works in debug builds, but requires devtools feature flag to enable it in release builds.

Platform-specific

  • macOS: This will call private functions on macOS.

  • Android: Open chrome://inspect/#devices in Chrome to get the devtools window. Wry's WebView devtools API isn't supported on Android.

  • iOS: Open Safari > Develop >Your Device Name>Your WebView to get the devtools window.

Since

2.1.0