Add -debugwait cmd line arg to wait for C# debugger attach on engine start

This commit is contained in:
Wojtek Figat
2021-05-14 19:25:31 +02:00
parent 5745e4e522
commit 16e67780ad
3 changed files with 13 additions and 1 deletions

View File

@@ -109,7 +109,10 @@ bool CommandLine::Parse(const Char* cmdLine)
PARSE_BOOL_SWITCH("-novsync ", NoVSync);
PARSE_BOOL_SWITCH("-nolog ", NoLog);
PARSE_BOOL_SWITCH("-std ", Std);
#if !BUILD_RELEASE
PARSE_ARG_SWITCH("-debug ", DebuggerAddress);
PARSE_BOOL_SWITCH("-debugwait ", WaitForDebugger);
#endif
#if PLATFORM_HAS_HEADLESS_MODE
PARSE_BOOL_SWITCH("-headless ", Headless);
#endif