update app debug setting