docs: Added a note about chromium logs on the debugging page (#22476)
* docs: Added a note about chromium logs on the debugging page * docs: Point at existing documentation for environment variables * chore: remove trailing whitespace Co-authored-by: Cheng Zhao <zcbenz@electronjs.org>
This commit is contained in:
parent
674e4a9fdd
commit
66c15721d8
1 changed files with 10 additions and 0 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Reference in a new issue