Skip to main content

set_debug

Function set_debug 

Source
pub fn set_debug(on: bool)
Expand description

Records whether the deployment is in debug mode, once, at boot from the loaded config. Later calls are ignored (the first wins), so error rendering has a stable answer without threading config through every handler.