How To Debug A Program With Arguments In VSCode

preview_player
Показать описание
In this python tutorial, I show you how to debug a program with arguments in vscode. Ill walk you through how to setup the vscode debugger as well as set it up to pass arguments into the program you are trying to debug! Let's get coding!

======== Video Timeline ========
0:00:00 - Video Intro
0:01:14 - Vscode Error You Probably Ran Into
0:02:42 - Passing In Args To VsCode

======== Python Tutorials ========

======== Python Questions ========

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

Well done. Quick, simple, and clearly explained. Not too fast, not too slow and words clearly articulated. Thanks.

rwstavros
Автор

Perfect! Straight to the point, informative without over explaining, and the variable information I needed like passing a "-f" parameter. Thank you!

coreyrunyon
Автор

Thank you. I had no idea how to debug programs that required terminal arguments. This helps a lot.

nanometers
Автор

Finally a video that prioritize the useful informations

arielpriarone
Автор

I was searching for this forever. Thank you!

mpkrass
Автор

Absolutely incredible video. Well done Sir! Exactly on point!

charalamposkatsoukis
Автор

Thank you for this! I did not know about this feature.

BruceElgort
Автор

This video was enough for me to subscribe. Thanks.

simonprentice
Автор

Thank you! Finally, an answer. You my god damn hero! easy subscribe

kelvinabambora
Автор

Thanks, can you make more videos about debugging, like debugging for python file containing imported files

detranquoc
Автор

I don't see that option. All the options I see are "Open a folder", which pops open the file open dialog (useless!), and "Show all automatic debug configurations". If I click that I just see a list, from which I select python, and there is no option to create that file. What do I do?

mrbob
Автор

Needed to know how to pass both args like --debug=4 and -k value

PatrickSteil
Автор

Hey, I was doing the 'parse args' steps but I seemed to need to put the args in the order of the list of args defined, which some of them I do not actually need. Can you help me with this? I have around 40 arguments and would not be using all (some have default values). Thank you!

raymondfendyj
Автор

How would you (or could you) run debugger through a series of arguments on the same script … like run script on argument a and then do b and then c…..

surfettekw
Автор

what if when I click "create a launch.json file" and then select the python option, nothing happens and I don't get any "launch.json" file?

mentefria
Автор

Very Interesting.

How about a video doing the same but in a Visual Studio Code C# application using MVC?

billnewsr.
Автор

you could lay out the REQUIRED info a lot faster. You're a programmer to some extent? Heard anything about optimization?

pavelgrishin