Debuggers are a great way to find out what is actually going on in your code. They allow you to pause, inspect and modify the state of your program at any time.
Lets explore drawing lines using the mouse in Unity. We’ll approach this in two parts. The first is to figure out how to cast a line from our camera where our mouse is.