title: How to set python environment variables in VS Code?
body: <p>I know how to add arguments for the Python script I want to run. For example, if <code>test.py</code> is my script file and it has one argument like <code>'--batch_size'</code> then I can edit <code>launch.json</code> in VS Code and set <code>"args": ["--batch_size", "32"]</code></p>
  
  <p>But I don't know how to add environmental arguments for Python itself. For example, Python has <code>-m</code> environmental variable, which runs library module as a script. If I want to run <code>python -m torch.distributed.launch test.py --batch_size 32</code>, what should I edit in VS Code to run the debugger?</p>
  
  <p><strong>UPDATE</strong>:
  Here is my <code>launch.json</code></p>
  
  <p><a href="https://i.stack.imgur.com/eKLmG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eKLmG.png" alt="enter image description here"></a></p>