There will inevitably come a time when you will need to debug your code. Debugging is used to not only hunt down bugs in your code, but also to better understand its execution flow and inspect the values that variables hold as the script executes. Here we look at the variety of debugging tools available to you when working with Visual Studio and Unity.