title: Issues with debugging tests in golang with vscode
body: <p>I'm running Golang tests on VSCode with some global variables, that being initialized before reaching the test function.</p>
  <p>The global variables in my program get their values from runline arguments, that specified in the launch.json file (os.Args).</p>
  <p>For some reason when I'm running tests I have different args than the ones specified in the launch.json file.</p>
  <p>These are contents of my launch file:</p>
  <pre><code>{
      // Use IntelliSense to learn about possible attributes.
      // Hover to view descriptions of existing attributes.
      // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;name&quot;: &quot;Launch file&quot;,
              &quot;type&quot;: &quot;go&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;mode&quot;: &quot;auto&quot;,
              &quot;program&quot;: &quot;${file}&quot;,
              &quot;args&quot;: [&quot;.&quot;, &quot;from&quot;, &quot;to&quot;, &quot;csv&quot;, &quot;hl7&quot;]
          }
      ]
  }
  </code></pre>
  <p>These are the different values that I constantly get:</p>
  <pre><code>os.Args[0] = //path to the __debug_bin.exe
  os.Args[1] = &quot;-test.run&quot;
  os.Args[2] = &quot;^TestInit$&quot;
  </code></pre>
  <p>In my launch.json file I have 6 arguments in total, which leads me to an out of bounds error when I try to run tests.</p>
  <p>So my question is how do change it so that tests run with the arguments I specified in the launch file?</p>