Application Debugging

    The most comprehensive tool to debug individual renderer processes is the Chromium Developer Toolset. It is available for all renderer processes, including instances of , BrowserView, and WebView. You can open them programmatically by calling the API on the webContents of the instance:

    Google offers excellent documentation for their developer tools. We recommend that you make yourself familiar with them - they are usually one of the most powerful utilities in any Electron Developer’s tool belt.

    For more information, see the .

    If the V8 context crashes, the DevTools will display this message.

    Chromium logs can be enabled via the ELECTRON_ENABLE_LOGGING environment variable. For more information, see the environment variables documentation.

    Alternatively, the command line argument --enable-logging can be passed. More information is available in the .