title: Visual Studio Code debugger tool error message for C++
body: <p>Working with visual studio code on a mac. I'm running the debugger on my mac but am getting an error message as the following:</p>
  <pre><code>&quot;Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
  ERROR: Unable to start debugging. Unexpected LLDB output from command &quot;-exec-run&quot;. process exited with status -1 (attach failed ((os/kern) invalid argument))
  The program '/Users/user/Documents/C++/1' has exited with code 42 (0x0000002a).&quot;
  </code></pre>
  <p>I was thinking the issue might be because of my current configurations:</p>
  <pre class="lang-json prettyprint-override"><code>    &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;cpp - 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;${fileDirname}&quot;,
              &quot;environment&quot;: [],
              &quot;externalConsole&quot;: false,
              &quot;MIMode&quot;: &quot;lldb&quot;,
          }
        ]
      }
  </code></pre>
  <p>Any help would be wonderful. Thank you.</p>