Visual Studio Code for Python Developers Transcripts
Chapter: Running and Debugging
Lecture: Summary
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Congratulations. You've made it to the end of Chapter 6, where we talked about running and debugging Python applications inside of Visual Studio Code.
0:10
Hopefully, after watching this chapter, you feel a little bit more comfortable about navigating the UI of VS Code and how you can set up
0:16
your debug configurations exactly how you want it to be. Before we move on to the next chapter, why don't we take a moment to talk about
0:22
some of the things that we covered so far. Now, we took a look at the launch.json file. Inside of here, this is where you set up
0:30
your different launch configurations, and you can have one or many or as many as you want to have in there.
0:35
But you can set different options like the name of the configuration, the types of applications you want to debug, the module you want to target,
0:42
and some of these other interesting things. Environment variables, arguments, current working directories, so on and so forth.
0:49
Most of the things that you'd want to be able to configure to say, this is how I want my configuration set up,
0:54
you'll do it here inside of the launch.json file. Using the UI inside of Visual Studio Code, you can select which one you want to run at
1:01
that given time and go ahead and execute that. After we took a look at our configuration, we took a look at the UI of
1:09
Visual Studio Code when it comes to debugging. We took a look at the debug view, we looked at the debug console at the bottom,
1:16
we learned a little bit about breakpoints and using conditional breakpoints and how those work.
1:21
We also took a look at the breakpoint view that lets us edit, add, remove, delete our breakpoints, and then we can also add a breakpoint view
1:29
that lets us add a breakpoint view to our application. So, we can see that we have a breakpoint view
1:34
that lets us add a breakpoint view to our application. So, we can see that we have a breakpoint view
1:39
that lets us add a breakpoint view to our application. So, we can see that we have a breakpoint view
1:43
that lets us add a breakpoint view to our application.