While making a game, it is often very important that you know certain details of the game mechanics at specific points in time, or to be able to input certain key values for some functions to test out different methods and ideas for your game. To that end GameMaker Studio 2 provides you with a number of debug functions that will show messages and ask for input while in debug mode (or on a Windows target) but that will be ignored when compiled for other target modules due to the fact that these functions put the game in a closed loop until the input is resolved.
Apart from those specialist functions, to help you out when creating your game, GameMaker Studio 2 also has a long list of error messages that can be shown either when compiling your game or when the game itself is running. These messages point to the specific error in question and can be used to pinpoint a problem within a specific object or script, helping greatly with the process of debugging your game. However, it may not always be obvious exactly what the error message means and so the following section lists all of the possible messages and explain what they mean to make life easier for you:
You can also find further information on how to debug your game in the section Debugging.