Skip to content
CosmoX edited this page Sep 29, 2017 · 9 revisions

Debugging Lepton

How to enable debug mode?

Lepton has more debug logging when the debug mode is enabled. Put .leptonrc in your home directory with following configurations. Here is a template.

{ 
    "logger": {
        "level": "debug"
    }
}

Where is my home directory on Windows?

The home directory varies on different Windows platforms, but most of the time you can begin with the following path.

C:\Users\<CurrentUserName>

Where to find the logs?

Console Log

Open the DevTools to inspect the logs. All GUI specific errors/warnings will show up here.

  • Mac/Linux: Command + Option + I
  • Windows: Ctrl + Shift + I

Log File

  • Mac: ~/Library/Application Support/Lepton/logs
  • Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
  • Linux: ~/.cached/Lepton/logs
Clone this wiki locally