title: In VS Code-debugger, how do I use envFile in launch.json for nodejs?
body: <p>I'm trying to run the debugger in VS Code on my nodejs application.  I'm using an .env file to store environment variables that I later call with process.env..  When I looked up the VS Code docs for the launch.json, it mentions the envFile option to load the the .envFile.  Unfortunately, this is not loading the files when I run the debugger.</p>
  <p>launch.json:</p>
  <pre><code>{
      &quot;version&quot;: &quot;0.2.0&quot;,
      &quot;configurations&quot;: [
          {
              &quot;type&quot;: &quot;node&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;name&quot;: &quot;RegressionTestSuite&quot;,
              &quot;autoAttachChildProcesses&quot;: true,
              &quot;program&quot;: &quot;node ${workspaceFolder}/node_modules/.bin/cucumber-js&quot;,
              &quot;args&quot;: [
              ],
              &quot;envFile&quot;: &quot;${workspaceFolder}/.env&quot;
          },
      ]
  }
  </code></pre>
  <p>.env:</p>
  <pre><code>export SCREEN_SIZE_WIDTH='1366';
  export SCREEN_SIZE_HEIGHT='768';
  </code></pre>
  <p>When I run the VS Code debugger, there are no environment variables from my .env file.  How should I be calling the .env file in the launch.json?</p>