Video #4: Debugging Python with VS Code

preview_player
Показать описание

00:00 Setup
01:12 Attaching the Debugger
06:15 Setting a Breakpoint
07:27 Resume, Step Over, Step Into, Step Out Of
10:53 DataViewer, Variables, Watch
15:20 Toggling Breakpoints, Call Stack
16:28 Conditional Breakpoints
20:04 Debug Console
23:16 Logpoints
26:57 More Options for Breakpoints
27:42 Review
29:10 Launching the Debugger
34:46 Conclusion
Рекомендации по теме
Комментарии
Автор

Best video about Python debugging using VSCode I found on YouTube. thanks!

riptorforever
Автор

Great video and clear explanations. Thanks for putting your time into it!

wowlikefun
Автор

Really helpful content!
Thanks for your time and efforts mate! ✌️

ioannisnikolaospappas
Автор

Very helpful! Clear instructions! Thanks!

chenyao
Автор

Great vid! It's a bit funny to me how so many people who've only ever programmed in Python are amazed by VS Code's visual debugging, whereas the same capabilities have existed in MATLAB for many years.. MATLAB people take this stuff for granted but it's not easy to implement

Michaelassk
Автор

Thanks a lot for creating this video. I had to learn basic debugging steps of VS code by searching other videos on Youtube ( for the basics), then I was able to understand your video fully, But I must say - Your video helped me understand the debugging on VS code completely. All the best Matt.

datarobe
Автор

Awesome video thanks! You should do more of these debugging videos this was great

kosmonautofficial
Автор

This is very useful! Keep up the great work

chaupham
Автор

I loved your video. It's perfect and straight to the point.

anshugarg
Автор

Thank you for the explanation. It helped me a lot! :)

AR_
Автор

huge thanks to you! this was very helpful! I wish you all the good fortune

piclkesthedrummer
Автор

Incredibly helpful video!
Say goodbye to print statements ^^

nivethanyogarajah
Автор

Really helpful content from you
This is whole explain regarding debugging and debbuger
Thanks a lot

sandippankhaniya
Автор

Very helpful video. You should do more videos!

krishsingh
Автор

Very helpful videos, you should do more videos!

myfavor
Автор

Debugger in VScode wasn't working and I couldn't figure out why. It so happened I didn't have the debugpy in my environment... I never knew such a thing even existed and I've been debugging for years. The more you know. Thank you for the helpful tutorial.

Watashiwapitadesu
Автор

Also, I want to pointed to point out something that isn't mentioned in this video: neither attaching nor launching works for Jupyter notebooks in VS Code. To debug notebooks, you need to press the dropdown under the run button of each cell and click on "Run and Debug".

Michaelassk
Автор

great video, thank you! do you have video about how to remote debug in vscode for c++? thanks

xinking
Автор

Wondering how to approach this with a script that calls to other scripts and has lots and lots of commands with arguments. any tips??

kristenwaterman
Автор

Thanks for your interesting and super long video.
Perhaps you can help me cause I don't knwo how can I debug something like
"cat myfile | python-script-1.py | python-script-2.py"?
I tried to use debugpy too. But I have to call both scripts like so
"python -m debugpy --listen 5678 --wait-for-client python-script-1.py"
and I don't know what to do if I want to debug both scripts at once. Perhaps there is a way to bring vs code into listen mode and connect to it from the cmdline scripts? This is the way I was used to work with when remote debugging PHP with xdebug.

uwegenosdude