Suggested to open a console in debug mode


Right now we need to check the logging message inside output panel of Microsoft Visual Studio
If we call AllocConsole before start, we should be able to open a console for both input/output.


You mean have a embedded console? I think it’s a good idea. feel free to submit a feature request


Let me provide the sample code (AppDelegate.cpp)

AppDelegate::AppDelegate() {
BOOL f = AllocConsole();
freopen(“CONIN$”, “r”, stdin);
freopen(“CONOUT$”, “w”, stdout);
freopen(“CONOUT$”, “w”, stderr);

A console for easy debugging


Isn’t this already implemented in the Lua version of the project?


I have not tried lua version.
The current setting should be inconsistent