How to Debug Python with VSCode
Why Stack Overflow recommends it
Stack Overflow users link it when a beginner needs to step through Python code line by line and a quick VSCode debugger walkthrough will do.
Recommended by 3 people across 3 different months, 2020 to 2022.
What it is
A short screen-recorded tutorial by Jayanam on debugging Python scripts in Visual Studio Code. It covers simple and conditional breakpoints and using log messages in place of print statements.
What people said
Recommends CherryDT · 2020-03 · Stack Overflow · on “How do you see the execution of a programme line by line in python?”
What you want is a debugger . There are several options, such as: The text-based debugger pdb [LINK] Visual debuggers included in various IDEs: Visual Studio Code [LINK] ( Tutorial how to debug Python with it [this video] ) << My recommendation PyCharm [LINK] ...and others
Recommends MindOfMetalAndWheels · 2020-05 · Stack Overflow · on “Modifying multiple files during a transportation from one folder to another Python”
If you've got a specific question I will try to answer it. I'm sure as you learn more about python it will start to make more and more sense to you as time goes on. It seems from your file paths that you are using windows, can I recommend that you use VS code as your ide. This is an intro video to debugging which will help you to understand what the script is doing [this video]
Recommends Bartosz Stasiak · 2022-07 · Stack Overflow · on “Positive Validation Check Django Not Working”
If you are using some IDE like VSCode/PyCharm then put a breakpoint on those lines (or even earlier to check what is inside `self.data` )and call method with this code in debug mode. Here is some tutorial: [this video]