Get Started with C++ and Windows Subsystem for Linux in Visual Studio Code
Configuring the C++ extension in Visual Studio Code to target g++ and GDB on WSL installation with Ubuntu