Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#17295 - 0xJonas:fix_passing_env_vars_to_cppto…
…ols, r=Veykril Use correct format for setting environment variables when debugging with cpptools The RA VSCode extension uses an incorrect format for the environment variables in the `launch.json` when debugging with the C/C++ Extension. This extension uses a different format than CodeLLDB or NativeDebug, which means that the environment variables are not actually set for the debuggee. What it currently looks like: ```json "env": { "NAME": "VALUE" } ``` What the C/C++ extension expects: ```json "environment": [ { "name": "NAME", "value": "VALUE" } ] ``` For reference: https://code.visualstudio.com/docs/cpp/launch-json-reference#_environment
- Loading branch information