WebView allowDebug?

Hi. I’m having a runtime crash just before page seems to render in the Webview UI. Weirdly, I cannot seem to inspect the Webview console with the context menu that usually exists, to see what the error is. In the CHOC Webview I was using before JUCE8, I would do this to turn it on and off

 choc::ui::WebView::Options opts;

    opts.enableDebugMode = false;

I cannot find an equivalent in the documentation, is it a CMAKE flag?

The webview developer tools are automatically enabled in Debug builds. Are you trying to do this with a Release build? I’m afraid this is currently not manually configurable.

No, it is not a release build. It is debug build. What else could cause the dev tools not to be available?

Can’t think of anything now. What operating system are you experiencing this on? Are you seeing the same with the WebViewPluginDemo_Standalone example?

On MacOs … it is a particular crash, I have been ok . In the native log , i see the callback is sending something weird perhaps that’s why we partially crash. JavaScript execution returned a result of an unsupported type

It’s working for me. Right click in the window then “Inspect Element”. Maybe you have to enable developer mode in Safari for it.

ok thanks , seems to have been caused by a complex error in my frontend reactive framework.