From b9d62d2cab4f28b4451a3580a6728b6ecc20d4e0 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 22 Dec 2015 19:05:14 -0500 Subject: [PATCH] Turn on logging via a command line env var --- docs/api/environment-variables.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/environment-variables.md b/docs/api/environment-variables.md index 6b000aaa1080..0d6e68a76cb2 100644 --- a/docs/api/environment-variables.md +++ b/docs/api/environment-variables.md @@ -25,6 +25,12 @@ Starts the process as a normal Node.js process. 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` When Electron crashed, prints the stack trace to console.