title: Visual Studio Code - C++ Debugger doesn't start
body: <p>I've been using Visual Studio Code to debug C++ on Linux for a while now.</p>
  
  <p>In a sample project I've got the following <code>launch.json</code>:</p>
  
  <pre><code>{
      "name": "(gdb) Launch",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/main",
      "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>
  
  <p>I've successfully compiled and run main.c, so debugging should work fine.</p>
  
  <p>When I start the debugger, a blue loading bar appears under the arrow and nothing happens. On my laptop, with the exact same configuration, the loading bar would disappear after a couple of seconds and the debugger would start.</p>
  
  <p>Looking at <code>ps aux</code> I can see two new processes:</p>
  
  <ol>
  <li><p><code>mono.linux-x86_640</code> with the command <code>/home/guyyst/.vscode/extensions/ms-vscode.cpptools-0.20.1/debugAdapters/mono.linux-x86_64 --config /home/guyyst/.vscode/extensions/ms-vscode.cpptools-0.20.1/debugAdapters/framework/config.linux /home/guyyst/.vscode/extensions/ms-vscode.cpptools-0.20.1/debugAdapters/bin/OpenDebugAD7.exe</code></p></li>
  <li><p><code>bash</code> with the command <code>bash /home/guyyst/.vscode/extensions/ms-vscode.cpptools-0.20.1/debugAdapters/OpenDebugAD7</code></p></li>
  </ol>
  
  <p>Debugging on my laptop spawns the same processes, but they disappear when the debugging actually starts. The two processes on my PC stick around even after closing VSCode. When I first noticed this I had 15+ copies running from previous attempts.</p>
  
  <p>All of this worked fine yesterday, and I don't remember making any changes to my configuration since then.</p>
  
  <p>I've tried reinstalling VSCode several times through either the AUR version <code>visual-studio-code-bin</code> or the open source package <code>code</code>.</p>
  
  <p>Debugging some Python code worked just fine.</p>