How To Setup VS Code for Debugging C, C++, and Python

Subscribers:
660
Published on ● Video Link: https://www.youtube.com/watch?v=xDospHjL_5A



Category:
Tutorial
Duration: 11:36
689 views
8


Pre-requisites
HI! Thanks for taking the time to checkout my code. This is a pre-requisites wiki before continuing to try debug with VS Code. BEWARE: The following instructions are only relevant to Debian/Ubuntu based distributions.

You'll need to open a terminal window and run these commands before continuing. On Pop_OS! GCC and Python3 are already installed. You may need to install these too depending on which operating system you are using.

Update before running
`sudo apt-get update -y`
`sudo apt-get upgrade -y`

Programs we need to install
`sudo apt-get install code -y `
`sudo apt-get install gdb -y`

All Done

Once you have these installed you can navigate to this directory via the terminal` cd path/to/directory` and open VS Code `code .` That's it! You're good to go!

Compiler Options Link: https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html


Twitter: @bevybizzle
If you enjoyed the video don't forget to SUBSCRIBE!







Tags:
c++
visual studio code
vs code
debugging
linux
debugger tutorial
debugger
how to use a debugger
debugger in visual studio code
debugging in visual studio code
debugging vscode
debugging python
python debugging
code debugging
python debugger
debug
software development
debug c program
gdb
compile and run
debug simple c program
vscode
c language
cpp
c programming
programming language
programming
setup visual studio code for c
visual studio
vs code with c