From f7f6ac3554d0b5e380985b1a2070000bfd8ef77b Mon Sep 17 00:00:00 2001 From: lf- Date: Wed, 30 Dec 2020 01:17:25 -0800 Subject: Add an option for extra env vars in the Code extension --- editors/code/package.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index 13749a084..587f11b90 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -283,6 +283,14 @@ "default": null, "markdownDescription": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then `#rust-analyzer.updates.channel#` setting is not used" }, + "rust-analyzer.server.extraEnv": { + "type": [ + "null", + "object" + ], + "default": null, + "markdownDescription": "Extra environment variables that will be passed to the rust-analyzer executable. Useful for passing e.g. `RA_LOG` for debugging." + }, "rust-analyzer.trace.server": { "type": "string", "scope": "window", -- cgit v1.2.3