Debug.WriteLine only if IR_DEBUG_LOG environment variable exists.