Dynamic debug setting