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 Setup Batch file: