Importance of GTA 5 Log Files
In your game folder (root folder) where GTA5 is installed you will find log files that can help you determine what is going wrong with your modded game. The two most important files for general modding are:
ScriptHookV.log
asiloader.log
If you are installing and running scripts then also this file:
ScriptHookVDotNet.log
To make sure you can see the file extension .log for these files, see the screenshot below - you need to check the box that says File name extensions from the View menu at the top of Windows Explorer. These log files are plain text and can be opened with any text editor including notepad. Examine the files and search for words such as fail, failed, aborted, error, and warning.
Log files and error messages can help pinpoint issues and problem areas. Other resources that may help are the Rockstar Games Launcher error logs which are located, by default, at C:\Users\USERNAME\Documents\Rockstar Games\Launcher. Finally you have the OpenIV.log file as well.
Specific mods and tools can also have their own log files to investigate. Finally for advanced PC users, there is the Windows Event Viewer. You can search for this app "Event Viewer" or view the logs (double click) at, by default, C:\Windows\System32\winevt\logs.