Install gcc, g++, make, and gdb on wsl terminal
2. Add the C/C++ VS Extention to WSL
3. Configure the launch.json and tasks.json
launch.json
tasks.json