1. Copy this file doDebug.sh into any folder of the MacOS computer
2. Open a terminal and navigate to the folder where the file is located
3. Type this command in the terminal: sh doDebug.sh
4. This will generate the output in a log file named "NIC2-Debug-****.log" (where **** is the timestamp of when the application was run.