showDevTools for background page
See original GitHub issueIs it possible to open development tools for background page (application has no windows)? I thought it might be something like
// in bg context
nw.Window.get().showDevTools();
But it crashes (#4368), however @rogerwang mentioned that although background page has no corresponding window, call to nw.Window.get()
inside it’s context should not crash.
Am I missing something?
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Debug background services - Chrome Developers
The Background Services section of Chrome DevTools is a collection of tools for the JavaScript APIs that enables your website to send and ......
Read more >Is there any way to see the developer console for a ...
The key is to open the extension popup as a tab and inspect that, then open the "background page" inspector from the Extensions...
Read more >Debug background services - Microsoft Edge Development
The Background Sync page opens. The Background Sync pane. Click Record ( Record. ). After triggering some Background Sync activity, DevTools ...
Read more >Debugging with DevTools - NW.js Documentation
To debug Node.js modules, you can right click the app and choose “Inspect Background Page”. When stepping into Node.js modules in the debugger,...
Read more >How to change background Color on the Intro to Chrome ...
... -to-chrome-devtools. I tried to use the Dev Tools to change the Background of this Page. For that i selected the main part...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@offshore I found an interim solution here: https://github.com/nwjs/nw.js/issues/4881 . Works for me 😃
Is there a solution to this? I still have this issue of unable to see the inspect background option
https://stackoverflow.com/questions/46142812/unable-to-inspect-background-page-with-nw-js-debugger-shows-empty-screen