Added if Debug mode is Initialized