![]() ![]() See JavaScript Contexts in NW.js for the differences. If your app is running under Mixed Context Mode, Node.js modules can be directly debugged within the same DevTools window of the window. When stepping into Node.js modules in the debugger, the DevTools for background page is automatically focused and stopped at certain statement. To debug Node.js modules, you can right click the app and choose “Inspect Background Page”. NW.js is running in Separate Context Mode by default. Open Developer ToolsĭevTools can be opened with keyboard shortcut F12 on Windows and Linux or ⌘+ ⌥+ i on Mac.Īlternatively, you may open DevTools programmatically using NW.js API win.showDevTools() for a window. It’s recommended to use SDK flavor to develop and test your app. DevTools is only available in SDK flavor.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |