79645362

Date: 2025-05-30 11:22:01
Score: 0.5
Natty:
Report link

This is controlled by the console option in the launch.json file.

On Windows with externalConsole: false and console: internalConsole it will not create a new terminal but uses the existing one.

FMI: https://code.visualstudio.com/docs/cpp/launch-json-reference#_externalconsole

"configurations": [
    {
        "name": "test",
        "type": "cppvsdbg",
        "request": "launch",
        "program": "${workspaceFolder}/build/test.exe",
        "args": [
        ],
        "stopAtEntry": false,
        "cwd": "${workspaceFolder}/build/",
        "environment": [],
        "console": "internalConsole",
        "externalConsole": false,
    },
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bertubezz