Debugging
Try to make an error and run your project. You will see errors displayed in bottom panel.Double-clicked on the error and it will bring you to the line of code that creates error.
Another helpful tool is breakpoint. Breakpoint allows the code to break for a while before targeted line being executed.
Check your bottom-left panel, it list all the variables in our project.