nw.js
nw.js copied to clipboard
Non-SDK nw.js fails on `showDevTools`
I use the follow code
nw.Window.get().showDevTools();
it works fine with SDK version of nw.js, but if I open the project with non-SDK one, the window will close immediately and the nwjs process with run in the background. I need to terminate it manually with Task Manager.
- Win 10
- nwjs-v0.71.1-win-x64
The non-SDK version does not have DevTools which is why the app is crashing. Here's a link to the docs: https://nwjs.readthedocs.io/en/latest/For%20Users/Debugging%20with%20DevTools/
I have seen messages about it.
I think it should not crash the application.
Just throws an error in showDevTools function. Or just do nothing.
Hi all!
@rogerwang , any thoughts on this thread? Currently, prominent sites like ChatGPT are using Cloudflare's CAPTCHA challenge and it fails getting stuck in a loop. Since the site is a hot potato right now, it's creating a lot of noise out there. Any chance you can help us here?
Thanks!
Dev Tools only works on SDK version
npm install -g nw@sdk