title: getting "MIDebuggerPath" error setting up VSCode
body: <p>i am struggling to get my vscode working. it pops up this error.
  &quot;Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger.  Please specify the Unable to start debugging. Launch options string provided by the project system is invalid. Unable to determine path to debugger.  Please specify the &quot;MIDebuggerPath&quot; option. option.&quot;</p>
  <p>the code should be working alright, but there must be something im missing and my research in youtube tutorials was not very helpful.</p>
  <p>pd im using OSX</p>
  <p>here is my launch.json</p>
  <pre><code>{
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;Debug&quot;,
              &quot;type&quot;: &quot;cppdbg&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;args&quot;: [],
              &quot;stopAtEntry&quot;: false,
              &quot;cwd&quot;: &quot;${workspaceFolder}&quot;,
              &quot;environment&quot;: [],
              &quot;externalConsole&quot;: false,
              &quot;linux&quot;: {
                  &quot;MIMode&quot;: &quot;gdb&quot;,
                  &quot;miDebuggerPath&quot;: &quot;gdb&quot;,
                  &quot;program&quot;: &quot;${workspaceFolder}/bin/main&quot;
              },
              &quot;osx&quot;: {
                  &quot;MIMode&quot;: &quot;lldb&quot;,
                  &quot;miDebuggerPath&quot;: &quot;lldb-mi&quot;,
                  &quot;program&quot;: &quot;${workspaceFolder}/bin/main&quot;
              },
              &quot;windows&quot;: {
                  &quot;MIMode&quot;: &quot;gdb&quot;,
                  &quot;miDebuggerPath&quot;: &quot;gdb.exe&quot;,
                  &quot;program&quot;: &quot;${workspaceFolder}/bin/main.exe&quot;
              },
              &quot;preLaunchTask&quot;: &quot;build&quot;
          }
      ]
  }
  </code></pre>