title: Value of miDebugger path is invalid in VS code while executing c program
body: <p>Getting continuous error &quot;unable to start debugging. The value of <code>miDebuggerPath</code> is invalid&quot;. while running a c program in VS Code</p>
  <p>Here is launch.json file</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;g++ build and debug active file&quot;,
              &quot;type&quot;: &quot;cppdbg&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;program&quot;: &quot;${fileDirname}/${fileBasenameNoExtension}&quot;,
              &quot;args&quot;: [],
              &quot;stopAtEntry&quot;: false,
              &quot;cwd&quot;: &quot;${workspaceFolder}&quot;,
              &quot;environment&quot;: [],
              &quot;externalConsole&quot;: false,
              &quot;MIMode&quot;: &quot;gdb&quot;,
              &quot;setupCommands&quot;: [
                  {
                      &quot;description&quot;: &quot;Enable pretty-printing for gcc&quot;,
                      &quot;text&quot;: &quot;-enable-pretty-printing&quot;,
                      &quot;ignoreFailures&quot;: true
                  }
              ],
              &quot;preLaunchTask&quot;: &quot;g++ build active file&quot;,
              &quot;miDebuggerPath&quot;: &quot;C:\\MinGW\\bin\\gdb.exe&quot;
          }
      ]
  }
  </code></pre>
  <p>and here is tasks.json</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;version&quot;: &quot;2.0.0&quot;,
      &quot;tasks&quot;: [
          {
              &quot;type&quot;: &quot;shell&quot;,
              &quot;label&quot;: &quot;g++ build active file&quot;,
              &quot;command&quot;: &quot;/usr/bin/g++&quot;,
              &quot;args&quot;: [
                  &quot;-g&quot;,
                  &quot;${file}&quot;,
                  &quot;-o&quot;,
                  &quot;${fileDirname}/${fileBasenameNoExtension}&quot;
              ],
              &quot;options&quot;: {
                  &quot;cwd&quot;: &quot;/usr/bin&quot;
              },
              &quot;problemMatcher&quot;: [
                  &quot;$gcc&quot;
              ],
              &quot;group&quot;: {
                  &quot;kind&quot;: &quot;build&quot;,
                  &quot;isDefault&quot;: true
              }
          }
      ]
  }
  </code></pre>
  <p>I tried to change the path of compiler but it's not working.</p>