Test and Debug Scripts
You have 4 main methods of debugging or testing elements of your scripts. The most simple is checking any warnings in the Script Errors tab for individual connectivity errors. The next granular method is to debug any code written in the Snippet action or the check syntax command. After your script is bug-free, the next method is testing the functionality of the script with the trace tool. This tool allows you to track the progress of a script in 2 ways: artificial spawning of the script by the scripter, or by tracing instances when the script fires. Tracing instances is useful even for production scripts. Lastly, you can simulate a contact to personally test the functionality of the script. The following pages in this section explain these methods in deeper detail.