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
@@ -1213,7 +1213,7 @@ namespace se {
_exceptionCallback = cb;
}
void ScriptEngine::enableDebugger(const std::string& serverAddr, uint32_t port)
void ScriptEngine::enableDebugger(const std::string& serverAddr, uint32_t port, bool isWait)
{
_debuggerServerAddr = serverAddr;
_debuggerServerPort = port;