Quote:
Originally Posted by David Kudler
I wouldn't know where to set the variable in #3 -- just out of curiosity, how would I do that?
|
On Windows 10, type 'env' (no quotes) in the Taskbar search, then click the resulting "Edit the system environment variables" item. Click the "Environment Variables" button on the resulting dialog (you'll be on the Advanced Tab of the System Properties dialog), and create a new user variable named SIGIL_DEBUG_LOGFILE; and for the value, enter a path to a text file (it will be created when Sigil runs if it doesn't already exist). I do something like C:\Users\<username>\Desktop\sigil-logfile.txt so it's easy to find. You have to have file creation/write permissions to the location given.
Logging can slow things down considerable on Windows, so remember to delete the variable when no longer needed
(or just rename it slightly so you don't have to recreate from scratch every time you want to debug. I leave it something like SIGIL_DERBUG_LOGFILE, so I can just delete the 'R' and start logging again)
You could also launch Sigil from a batch file and set the environment variable there.
The easiest way for me to do it on Windows is to open a command prompt, cd to the Sigil program directory, then set a session variable with:
Code:
SET SIGIL_DEBUG_LOGFILE=C:\Users\Doug\Desktop\sigil_logfile.txt
(hit enter)
Followed by:
(hit enter)