Skip to main content

is_enabled

Function is_enabled 

Source
pub fn is_enabled() -> bool
Expand description

Whether the opt-in debug log is active.

The env var wins over config so a user can flip it per-session (LEAN_CTX_DEBUG_LOG=1) without editing config; the debug_log config key makes it persistent and is what hook subprocesses read when the IDE does not export the env var into the hook environment.