pub fn debug_flag(name: &str) -> bool
Read the debug switch name once. Callers on hot paths cache the result in a OnceLock.
name
OnceLock