Fix debug output switch