Debug flag with detailed logging for CocosDenshion