mirror of https://github.com/axmolengine/axmol.git
Console Enabled by default on TestCpp
This commit is contained in:
parent
f4a99d0627
commit
95568648c9
|
@ -82,6 +82,10 @@ bool AppDelegate::applicationDidFinishLaunching()
|
||||||
scene->addChild(layer);
|
scene->addChild(layer);
|
||||||
director->runWithScene(scene);
|
director->runWithScene(scene);
|
||||||
|
|
||||||
|
// Enable Remote Console
|
||||||
|
auto console = director->getConsole();
|
||||||
|
console->listenOnTCP(5678);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue