title: Cannot get "debug test" to work in VSCode (golang)
body: <p>Debugging tests to work perfectly but at some point recently something changed, and now it doesn't (perhaps a go version upgrade?).</p>
  <p><a href="https://i.stack.imgur.com/Bpc6Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bpc6Z.png" alt="debug test image" /></a></p>
  <p>When I click &quot;debug test&quot; this error message pops up:</p>
  <p><a href="https://i.stack.imgur.com/xMen8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xMen8.png" alt="Failed to launch: invalid debug configuration - cannot unmarshal bool into &quot;env&quot; of type string" /></a></p>
  <p>The error is: <code>Failed to launch: invalid debug configuration - cannot unmarshal bool into &quot;env&quot; of type string</code></p>
  <p>My <code>launch.json</code> seems fine (again, this used to work perfectly):</p>
  <pre><code>{
  &quot;version&quot;: &quot;0.2.0&quot;,
  &quot;configurations&quot;: [
      {
          &quot;name&quot;: &quot;Launch test function&quot;,
          &quot;type&quot;: &quot;go&quot;,
          &quot;request&quot;: &quot;launch&quot;,
          &quot;mode&quot;: &quot;test&quot;,
          &quot;program&quot;: &quot;${workspaceFolder}&quot;,
          &quot;env&quot;: {
              &quot;LOG_LEVEL&quot;: &quot;debug&quot;,
              &quot;LOG_SQL&quot;: &quot;false&quot;,
              &quot;DATABASE_URL&quot;: &quot;postgresql://postgres@localhost:5432/chainlink_test?sslmode=disable&quot;,
          },
          &quot;args&quot;: [&quot;-v&quot;]
      },
  ]
  </code></pre>
  <p>}</p>
  <p>What could be wrong?</p>