VISUAL STUDIO CODE · ОСНОВЫ · LESSON 08
Find the mistake.
Stopping points and debugging · about 13 minutes
STEP 1Pause the line.
Click to the left of the code line and a red dot appears. This is the stopping point: the program will stop before this line.
Debugging pathPointcirclePauseF5VerificationVARIABLES
✦ You can see what is already stored in variables.
STEP 2Start debugging.
Press F5 or open Run and Debug. When the program stops, look at VARIABLES. You can continue using F5.
✦ Debugging helps you understand the path of the program, rather than guessing the error.
TRY IT YOURSELFPractice
Open your hello.py, set a stop point in front of print, start debugging and see which line the program stopped at.