Run X4 Foundations in debug mode.
The handy script below (x4-debug.bat) can be used as a shortcut to start x4 in debug mode. You get:
- All debug messages turned on
- All debug logs sent to a timestamped file, so you dont lose anything
Copy paste the code in the file below, then update the value for
X4_EXE_PATH - change it to wherever X4.exe is located.
Your debug logs will be available in the
Documents\Egosoft\X4 Foundations\ folder.
Consider using a log analysis tool like glogg which can help you sort, filter, and find data in the logs.