Guard all engine effect debug output with a flag.