Updates config.hpp, uses COCOS2D_DEBUG for controlling debugger.

This commit is contained in:
James Chen
2017-10-09 15:25:57 +08:00
parent c625158e74
commit b4578572dc
@@ -14,9 +14,13 @@
#define SCRIPT_ENGINE_TYPE SCRIPT_ENGINE_NONE
#endif
#define SE_ENABLE_INSPECTOR 0
#if defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0
#define SE_ENABLE_INSPECTOR 1
#define SE_DEBUG 2
#else
#define SE_ENABLE_INSPECTOR 0
#define SE_DEBUG 0
#endif
#ifdef ANDROID