setup vscode for wsl ubuntu c

C++
sudo apt-get install build-essential gdb
Source

Also in C++: