Plugin settings

The environment variables you can set on a developer's machine to change what the plugin sends and logs.

The plugin works without any settings. These environment variables change its behaviour on the machine where they are set.

VariableWhat it doesDefault
LEOPREVENT_LICENSE_KEYUses this licence key. Takes priority over a key saved by browser login or set-license.Not set
LEOPREVENT_RESOLVE_IMPORTSSet to 0 to stop sending the in-repository helper code your change calls. Reviews then see only the changed files.On
LEOPREVENT_AUDITSet to 0 to keep code, prompts and findings out of the plugin's log file on your machine.On
LEOPREVENT_DEBUGSet to 1 to write more detail to the plugin's log file, for troubleshooting.Off

Set a variable#

Set the variable in the environment your coding agent starts from, such as your shell profile, then start a new agent session. For Claude Code on the web, add it in the environment's settings.

Where the plugin keeps its files#

WhatmacOSLinuxWindows
Saved connection or key~/Library/Application Support/leoprevent/~/.config/leoprevent/%AppData%\leoprevent\
Log file client.logSame folderSame folderSame folder

These folders sit outside the plugin, so they survive updates and reinstalls.

Updated 4 Nov 2026

Suggested articles