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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user