diff --git a/docs/tutorial/application-debugging.md b/docs/tutorial/application-debugging.md index d2f9b186c5e7..e4eba7d1c293 100644 --- a/docs/tutorial/application-debugging.md +++ b/docs/tutorial/application-debugging.md @@ -36,3 +36,13 @@ For more information, see the [Debugging the Main Process documentation][main-de [node-inspect]: https://nodejs.org/en/docs/inspector/ [devtools]: https://developer.chrome.com/devtools [main-debug]: ./debugging-main-process.md + +## V8 Crashes + +If the V8 context crashes, the DevTools will display this message. + +`DevTools was disconnected from the page. Once page is reloaded, DevTools will automatically reconnect.` + +Chromium logs can be enabled via the `ELECTRON_ENABLE_LOGGING` environment variable. For more information, see the [environment variables documentation](https://www.electronjs.org/docs/api/environment-variables#electron_enable_logging). + +Alternatively, the command line argument `--enable-logging` can be passed. More information is available in the [command line switches documentation](https://www.electronjs.org/docs/api/command-line-switches#--enable-logging).