init_debug_mode

Function init_debug_mode 

Source
pub fn init_debug_mode()
Expand description

Initialize debug mode from environment variables

  • TX2_DEBUG=1 or TX2_DEBUG_JSON=1: Enable JSON pretty-printing of all messages
  • TX2_TRACE=1: Enable human-readable trace logging of operations