I've been using vscode's python debugger for months and didn't know about all these features! Thanks Arjan :)
Not only a great tutorial about debugging FastAPI, but about debugging in general! I learned a lot, thanks!
I usually use the debug terminal instead of watch statements. The expressions I want to watch are usually to complex to fit into the watch section so setting a breakpoint and running the statement in the debug terminal is shorter. In general having access to a complete python REPL in the debug terminal is such a powerful feature :)
I was coding Python for years, always look errors from the terminal for debugging, thanks for guiding through all the process of Python Debugger with FastAPI. Find this helpful for finding the hidden process like similarities count and selecting top indices which we don't view commonly. Appreciate ur detail contents like this🔥
This is really a great tutorial. I always test my program in hard way. You've shown me a better way to do this Thank you
I also find very useful to use the debug console. After I reaching a breakpoint you can try expressions or inspect/call object methods directly in the debug console.
Just a heads up: you should probably disable automatic title translation for both regular videos and shorts. This video, for example, shows up as “01 03 DEBUG FASTAPI” on my country (Portugal). The same has been happening to your shorts. This title is mostly gibberish and sounds like a placeholder for the actual title English speakers must be seeing.
Happy New Year dear Arjan, with many great videos like 2024 !!!
Very helpful as always! Thank you Arjan
Perfect timing, how did you know? Literally doing this right now.
Awesome as always 🙂
Please make a playlist about what to do and not to do in production-grade API building.
After I have found the breakpoint() function it's been wonderful to stop the code and try different things to understand some unusual behaviour. But This video has great tips for debugger. Thanks.
So excited for this video! THANK YOU! Watching now
Conditional breakpoints are super useful. I use them in Pycharm a lot. I didnt know about all those extra breakpoint types though, I dont think Pycharm has them. The break only on x number of hits, or "wait for other breakpoint" functionality. Seems really useful.
Iam looking for this video all over youtube thanks for this video
Super helpful... Thanks..
Happy New Year / gelukkig nieuwjaar 🎉 and thank you for the great video! I would like to suggest the VS Code extension REST Client. It’s great for sending GET/POST requests and presenting the qry and response in a clear format.
where is the github repo for this example fast API that you showed in the video?
@ArjanCodes