Allow IDE to set DebugLogger.CloseLogFileBetweenWrites via command line
- Lazarus/FPC Version: <Lazarus 2.3.0 (rev main-2_3-3736-g6a0f0204) FPC 3.3.1 x86_64-win64-win32/win64>
- Operating System: <Windows 10>
- CPU / Bitness: <64>
What happens
Currently IDE allows debug logging to file using "--debug-log=" command line option. If IDE crashes then last part of the log might not be written to file.
What did you expect
I have attached a patch that allows setting "DebugLogger.CloseLogFileBetweenWrites := true" by adding "--debug-close-log" parameter on IDE command line.