Actually, who uses VS Code, does your debug mode work for you? In terms of breakpoints, view control values. Or am I starting something wrong, because the terminal is simply starting, but I cannot get to any breakpoint. Just a phrase from MS gives a little thought.

Debugging is currently tested and officially supported for Ubuntu 14.04 (x64). It can be different.

Launch.json file

{ "version": "0.2.0", "configurations": [ { "name": "This project", "type": "cppdbg", "request": "launch", "launchOptionType": "Local", "miDebuggerPath": "/usr/bin/gdb", "targetArchitecture": "x64", "program": "${workspaceRoot}/a.out", "args": [], "stopAtEntry": false, "cwd": "${workspaceRoot}", "environment": [] } ] } 

    0