Turn on logging via a command line env var
authorBen Gotow <bengotow@gmail.com>
Wed, 23 Dec 2015 00:05:14 +0000 (19:05 -0500)
committerBen Gotow <bengotow@gmail.com>
Thu, 21 Jan 2016 22:46:08 +0000 (14:46 -0800)
docs/api/environment-variables.md

index 6b000aa..0d6e68a 100644 (file)
@@ -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.