Now that we can create a script to run inside Vegas, how do we debug the script? We can’t rely on a script if it’s causing an error. Fortunately, debugging is a simple process.
Using Visual Studio, you can easily set breakpoints and process the code line by line. You can also review the value of the variables to help verify everything is working as you expected.
To start debugging, we have to be in “debug” mode, go to the Properties section, tell it to start by running Vegas, and then pass the script to Vegas. Once that is done, the full debugging environment of Visual Studio is available to help make our scripts perfect!