add macro to support custom v8 debug option for creator (#1518)

* add macro to support custom v8 debug option for creator

* update console with version compare fixed

* revert debugger ip to 0.0.0.0 for template
This commit is contained in:
leda
2018-09-25 21:49:55 -07:00
committed by GitHub
parent 674614720e
commit a5391aaabd
7 changed files with 14 additions and 10 deletions
@@ -66,7 +66,7 @@ bool AppDelegate::applicationDidFinishLaunching()
#if defined(COCOS2D_DEBUG) && (COCOS2D_DEBUG > 0)
// Enable debugger here
jsb_enable_debugger("0.0.0.0", 5086);
jsb_enable_debugger("0.0.0.0", JSB_DEFAULT_DEBUGGER_PORT);
#endif
se->setExceptionCallback([](const char* location, const char* message, const char* stack){