title: VS Code does not show output from a program
body: <p>I've created a c++ project on ubuntu in visual studio code.
  It launches the program using gdb mode, but does not show anything in Output. When I launch program from console, the output is present. I tried inserting "console" property, but vscode tells me, that it is forbidden (from similar issue with node <a href="https://github.com/Microsoft/vscode/issues/30842" rel="noreferrer">https://github.com/Microsoft/vscode/issues/30842</a>). </p>
  
  <p>How can I enable vscode to show the output from my program?</p>
  
  <pre><code>{
      "version": "0.2.0",
      "configurations": [
          {
              "name": "(gdb) Launch",
              "type": "cppdbg",
              "request": "launch",
              "program": "${workspaceFolder}/a.out",
              "args": [],
              "stopAtEntry": false,
              "cwd": "${workspaceFolder}",
              "environment": [],
              "externalConsole": true,
              "MIMode": "gdb",            
              "setupCommands": [
                  {
                      "description": "Enable pretty-printing for gdb",
                      "text": "-enable-pretty-printing",
                      "ignoreFailures": true
                  }
              ]
          }
      ]
  }
  </code></pre>