Configure o vscode para wsl ubuntu c

sudo apt-get install build-essential gdb
Happy Hawk