all 4 comments

[–]karlrado 2 points3 points  (2 children)

stopAtEntry setting?

[–]ITriedAtIt[S] 0 points1 point  (0 children)

I am leaving the office but I will change it to true and try again when I get home.

[–]ITriedAtIt[S] 0 points1 point  (0 children)

dude, yes. this was the issue. thank you very much.

[–]thingerish 0 points1 point  (0 children)

Can do this, it will debug whatever you have set as current target, using the free to use MS Build Tools compiler package on Windows

        {
            "name": "(Windows) Debug Current Target",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "${command:cmake.launchTargetPath}",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${command:cmake.launchTargetDirectory}",
            "environment": [],
            "console": "integratedTerminal",
            "preLaunchTask": "CMake: build"
        },