- To debug your script you can use the System log.
script.log("Hello");
Will print Hello in the system log.
For sure you also can use a variable for this:
Test = "Hello";
script.log(Test);


- The system log will also give information about issues inside of your script.

In this script is the “;” missing at the end of the 4th line.

The system log will return an error.
error : Line 5, column 1 : Found ‘}’ when expecting ‘;’
If you are using pool scripts. This error will also be visible in the “Status” inside the inspector.


