I am currently using
electron-devtools-installer to install the React DevTools. Both my host browser windows devtools and the webviews devtools have a react tab. The react tab loads fine in the browser window devtools. However in the webview devtools I get the
Connecting to React... page.
I can’t find a way to open the devtools for the webview devtools, otherwise I would try debugging the issue myself. My guess is that React DevTools can’t establish the hook it needs to communicate with react, but I have no way of knowing for sure. If someone knows how to open up the devtools for a devtools in electron that would be very useful to know. (You can do this in Chrome currently with a detached devtools)
I have made sure that the webview has
nodeintegration set to true, and I also tried to do
webFrame.registerURLSchemeAsBypassingCSP("chrome-extension://") just in case it was a CSP issue. No matter what I do the extension doesn’t load properly for the webview devtools.
Let me know if you require any additional information. Thanks