Try to launch a c++ project, chose gdb launcher
gdb
launch.json
// Use IntelliSense to learn about possible attributes. /