you click in the margin of the code and a red dot will appear.
When you press f5 it will startup with debugging enabled.
When you hit that line of code the program will pause and you will be able to inspect the values in the current program inside visual studio.
There are other scenarios where you can set the breakpoint to trigger after n occurances or if a certain value is set.
This might help you as well:
its for a winforms app but the concept is the same.