Add a flag to turn off debugging entirely.