title: Verbose mode in Visual Studio Code build C/C++ files
body: <p>From vscode <a href="https://code.visualstudio.com/docs/cpp/config-linux" rel="nofollow noreferrer">GetStarted guide for C++ extension</a> the vscode prints out the command which is being generated by <code>tasks.json</code>.</p>
  <p><a href="https://i.stack.imgur.com/TXqyf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TXqyf.png" alt="vscode sample build outoput" /></a></p>
  <p>In my case I am trying to configure the <code>tasks.json</code> but the compiler is giving some errors and its really hard to debug if I cant see what was the command generated. Instead of the command the label is printed out and it looks like this:
  <a href="https://i.stack.imgur.com/hOmWC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hOmWC.png" alt="my sample build outoput" /></a></p>
  <p>How can I see the commands generated by <code>tasks.json</code>?</p>
  <p>I am using the default <code>tasks.json</code> file:</p>
  <pre><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>