title: Set environment variable in Visual Studio Code debugger on a Mac
body: <p>I want to use the VSCode debugger and want to set the environment variables before launching the app. The configuration in the Launch folder looks something like this. </p>
  
  <pre><code>    {
          "name": "Launch on iOS",
          "type": "nativescript",
          "request": "launch",
          "platform": "ios",
          "appRoot": "${workspaceRoot}",
          "sourceMaps": true,
          "watch": true,
          "environment": [
              {
                  "BUILD_ENV": "local"
              }
          ]
      }
  </code></pre>
  
  <p>This doesn't seem to work though. I am using a Mac. </p>
  
  <p><a href="https://i.stack.imgur.com/v2Aim.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v2Aim.png" alt="Problem reported by VSCode"></a></p>