Method WaitDebugger
WaitDebugger(string?)
Waits until debugger is attached. Uses debugOptionFileName
file existence in order to get "wait" setting on/off.
public static void WaitDebugger(string? debugOptionFileName = null)
Parameters
debugOptionFileNamestringPath to file name which existence specifies whether wait for debugger is on. Optional. When not specified, file "e:\debugserver.on" is used.