title: Reading system environment varaibles in launch.vs.json
body: <p>I'm trying to read system-wide environment variable from <code>launch.vs.json</code>
  Non of this variants works:</p>
  <pre><code>&quot;miDebuggerPath&quot;: &quot;{env:GCC_ARM_TOOLCHAIN_PATH}\\bin\\arm-none-eabi-gdb-py.exe&quot;,
  </code></pre>
  <pre><code>&quot;miDebuggerPath&quot;: &quot;{env.GCC_ARM_TOOLCHAIN_PATH}\\bin\\arm-none-eabi-gdb-py.exe&quot;,
  </code></pre>
  <pre><code>&quot;miDebuggerPath&quot;: &quot;%GCC_ARM_TOOLCHAIN_PATH%\\bin\\arm-none-eabi-gdb-py.exe&quot;,
  </code></pre>
  <p>Is it even possible to access environment variables that are not specified in <code>launch.vs.json</code> or <code>CmakeSettings.json</code>?
  This <a href="https://github.com/MicrosoftDocs/cpp-docs/blob/main/docs/build/launch-vs-schema-reference-cpp.md" rel="nofollow noreferrer">doc</a> does not say anything about such a use case.</p>
  <p>I'm using Visual Studio 2019 16.11.15</p>