Added debug mode, and add badge default to send push custom, test with iOS