A debug file is very useful when investigating configuration issues in MicroStation as it displays the order in which MicroStation processes each configuration variable within each configuration (.cfg) file. The debug file also contains a configuration variable summary at the end of the file. There are a few simple and easy ways to generate a debug file for both MicroStation v8i and CONNECT Edition.
Press: Windows key + R
A Run dialog box should appear. In the Run dialog, type (or paste) the following. Note that a debug file will be generated with or without the quotation marks surrounding the file path.
"C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\ustation.exe" -debug
In MicroStation v8i, the debug file will be saved to C:\Users\<username>\AppData\Local\Temp\msdebug.txt. You can navigate to this location and open the file titled "msdebug.txt".
In the Run dialog, type (or paste) the following. Note that a debug file will be generated with or without the quotation marks surrounding the file path.
"C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\microstation.exe" -debug
In MicroStation CONNECT the debug file will be saved to C:\Users\<username>\AppData\Local\Temp\Bentley\MicroStation\10.0.0\msdebug.txt and will open in Notepad (the default application associated with the .txt file extension)
For more background and other methods, including creating permanent shortcuts, please read: MicroStation's Debug File
Training: Running a MicroStation Debug
Other Language Sources