Turn on logging via a command line env var

This commit is contained in:
Ben Gotow 2015-12-22 19:05:14 -05:00
parent a3b6f69772
commit b9d62d2cab

View file

@ -25,6 +25,12 @@ Starts the process as a normal Node.js process.
Prints Chrome's internal logging to console. Prints Chrome's internal logging to console.
## `ELECTRON_LOG_ASAR_READS`
When Electron reads from an ASAR file, log the the read offset and file path
to the system `tmpdir`. Th resulting file can be provided to the ASAR module
to optimize file ordering.
## `ELECTRON_ENABLE_STACK_DUMPING` ## `ELECTRON_ENABLE_STACK_DUMPING`
When Electron crashed, prints the stack trace to console. When Electron crashed, prints the stack trace to console.