Visual Studio Code for Python Developers Transcripts
Chapter: Running and Debugging
Lecture: Exploring Debug Configurations
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In the previous video, you saw how to set up quick debugging sessions inside of Visual Studio Code.
0:07
Well, now we're going to take some time and look at some of the various debug configuration options that are available to us as Python developers.
0:15
Now, running ad hoc debug sessions is fine, but for most scenarios, you'll want to have more control over the various debugging settings,
0:22
as well as the ability to persist them between runs and even share them with your teammates. This is where setting up
0:28
a debug configuration file comes in really handy. In Visual Studio Code, that's the role of the launch.json file.
0:35
It allows you to configure and save debug setup details specific to your current project and the programming languages that you're using.
0:43
One of the things I like about the launch.json file is that it's not hard to edit or create once you get the hang of it.
0:49
At its core, launch.json is just a JSON file that contains an array of configuration objects, each with their own unique settings.
0:58
Inside that array, you can have just one or many different launch configurations.
1:02
It's fairly common for developers to create it by hand or use the VS Code UI. Just remember that Visual Studio Code is going to look for
1:10
it inside of the .VSCode folder inside of your workspace. Now, if you look on the right-hand side of the screen,
1:16
you'll notice an example configuration of what it might look like to configure a Python application. Now, on the left-hand side,
1:22
you'll see examples of familiar attributes that you might run into as we continue to explore the launch configuration.
1:28
So, for example, if I wanted to run a Python application, I could run a Python application using the VS Code UI.
1:32
So, I can run a Python application using the VS Code UI. And then, if I wanted to run a Python application using the VS Code UI,
1:36
I could run a Python application using the VS Code UI. So, I can run a Python application using the VS Code UI.
1:40
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
1:44
So, I can run a Python application using the VS Code UI. And then, if I wanted to run a Python application using the VS Code UI,
1:48
I could run a Python application using the VS Code UI. So, I can run a Python application using the VS Code UI.
1:52
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
1:56
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:00
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:04
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:08
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:12
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:16
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:20
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:24
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:28
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:32
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:36
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:40
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:44
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:48
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:52
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
2:56
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
3:00
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
3:04
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI.
3:08
And then, if I wanted to run a Python application using the VS Code UI, I could run a Python application using the VS Code UI. And thanks for watching!