The COCOS2D_DEBUG setting that is assigned to the c variable in cocos2d.js is not being respected across the code.
The constructor in main.js that sets cc.COCOS2D_DEBUG to the variable passed above is set AFTER CCCommon.js uses the variable to determine what the cc.log function and assert functions should do.
Thanks