mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
support parse waitForConnect and debugPort from simulator/config.json (#1521)
* revert v8 debugger ip to 0.0.0.0 for simulator * parse isWaitForConnect and debug port from config.json * remove macro useless, since we parse the options from config.json
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", JSB_DEFAULT_DEBUGGER_PORT);
|
||||
jsb_enable_debugger("0.0.0.0", 6086, false);
|
||||
#endif
|
||||
|
||||
se->setExceptionCallback([](const char* location, const char* message, const char* stack){
|
||||
|
||||
Reference in New Issue
Block a user