Setting Up a Flask Application in Visual Studio Code

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

Рекомендации по теме
Комментарии
Автор

Thanks a lot for your books, and for your video :-) They are very valuable.

niklasandersson
Автор

Deep gratitude Miguel, the vid is to the point and everything I want.

derekreed
Автор

Iv'e gone through your Flask Mega Blog. It's fantastic!

aryanpatil
Автор

To make code debugger work for flask app, you are a legend!

juvewan
Автор

Sir, you explanation is so great and useful for all the beginners in Flask.
Specially about the debugger that you can use in different way in Vs code.
Hopely that you make a complete series about Flask in combination with Docker container.
Many thanks.

jayhu
Автор

Thanks Miguel! Much easier to debug flask in VSCode now. Since I'm using pipenv, the debugging shell was failing with an env error until I edited the launch.json file to insert the following line:
"envFile": "${workspaceFolder}/.env",
Also, make sure is properly set to the correct venv directory...

KenLittleton
Автор

Excellent tutorial! I know how to use VSCode to debug Flask apps, but the information about using VSCode breakpoint for debugging unit tests is hard to find!

Shadowless_Kick
Автор

This is very valueble working with flask

JovenAlbarida
Автор

Thanks, Miguel for your time this video is very useful.

juliansalas
Автор

Thank you very much for this great video. And I just bought the book. really great

stefanw
Автор

Great video so far, but i'm getting a lot of import errors even after I set up a venv like you explained when I try run without debugging.

ericschlosser
Автор

I can serve python apps on flask from terminal but can't get visual code to serve them up on live server. Just starting and using Windows (I know, it's a nightmare), but is there an easy solution to getting VS code to work that way? I got lost the minute you gave the source command because I have no idea where you're referencing the Scripts to activate the virtual environment.

SilvaOnTube
Автор

Has been very usefull to me, thanks you soo much! :)

valentinlorentejimenez
Автор

At around 3:14, you pip install requirements for the dev environment. Where are these coming from? Was this a .txt file that you compiled beforehand?

sumeursault
Автор

Amazing video. It helps so much to do the transition to Visual Studio Code. How do you set the root though? In PyCharm you can do that under Settings -> project structure. Thanks

houmie
Автор

Thanks Miguel, and thanks for your book and mega-tutorial as well, I have built a large application based on these.
Unfortunately I can't get that application to throw to the vscode debugger when there is an error like you do in the last part of this video (where you insert the "result = a/2" code). I get exactly the same behaviour with either launch.json, the web page fails in the browser and an error message gets dumped into the vscode terminal, but the code does not break at the error. My application has the same structure as your microblog app, not your flasky app.

MySurrealRide
Автор

Hello Sir! I have made a webapp using Flask and deployed it on Heroku( for testing as I am only half way done with it). The problem I am facing is that there's an error with a feature when I access the webapp through Heroku, but the same feature works perfectly fine when I access it from my computer's localhost. I am working on a single branch and I've deployed the same branch on Heroku so basically the files that I am working with are the same. Any insight on this issue? Thanks.

aryanpatil
Автор

It's possible to develop desktop apps with flask? For mobile it-s possible with python-for-android --webview and for desktop ?

T_web
Автор

Not able to run your project on my desktop, please help flasky master

sajidshafishah
Автор

I've set up the venv but I get an error 'export' is not recognized as an internal or external command. I'm using Windows 10

HowardMizuki