add debug macro to cocos2dx project