Debugging Flask App with Visual Studio Code IDE

preview_player
Показать описание
In this tutorial we will see how to Debug a Flask Python Application using Visual Studio Code IDE.

Prerequisite:

𝐂𝐨𝐧𝐭𝐞𝐧𝐭𝐬:
Clone a Simple Python Flask Repo from GitHub 00:00
Setup Python virtual environment 00:27
Upgrade pip & install Dependencies 01:03
Open Flask App in VS Code 02:00
Understanding VS Code IDE panes and behavior 02:34
Observe Terminal automatically activate virtual environment 02:52
Adding Variables and methods to watch its state during debug 03:45
Start Debugging and choose between various debug configurations 04:48
Adding BreakPoints to Debug Flask in VS Code 05:05
Browse the default Route to hit our BreakPoints set 05:23
Debugging Starts, Understanding the debug tool bar: 05:43
Understanding Run Debug Pane features: Local Variables, Watch 05:57
Step Into Debugging Feature 07:50
Understanding Call Stack 8:22
Understanding BreakPoints Window Pane 09:00

Audio Corrections: At 08min 28sec Sum() is being Called by hello()

#debugflask #vscodepython #vscodedebug
------------------------------------------------------------------------------------------------

(っ◔◡◔)っ Share this video with your friends and colleagues and let them know you are upto date with latest tech-trends

Thanks 🙏

Follow us to keep updated with latest trends in Tech:

Support:
(Appreciate your Generosity: 💸)
ETH: 0x0689Ecd747d6F4eA9CE491aD0b1734fEe62b2229
Рекомендации по теме
Комментарии
Автор

I don't usually comment on a video unless it really moved me. This tutorial was perfect. Upgrade pip -> Git repo -> virtual environment -> Flask configuration -> Debugging demo (stepping/variable watching/call stack monitoring). It's beautiful. Just a small boo-boo on the comment 'the hello is being called by sum function'. I'm sure you meant to say hello is calling sum.

dannysammy
Автор

Thank you! Now I have learned how to Debug Flask in VSC!

Hackenbaker
join shbcf.ru