pub fn init()
Initialize profiling based on environment variable. Also initializes the debug output format.