I made this changes in the executor map to run the program in the external termina: "code-runner.executorMap": { "cpp": "g++ $fullFileName -o $fileNameW