mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user