Add debug system and config timezone.
Create debug function