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:
leda
2018-09-26 18:57:56 -07:00
committed by GitHub
parent a5391aaabd
commit beb45454ad
18 changed files with 46 additions and 28 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", 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){