Reset debug flags.