From a2169c228ed20b4c9e67c74c02f67710443e7ef8 Mon Sep 17 00:00:00 2001 From: Kevin Pilch Date: Thu, 27 Feb 2020 16:50:45 -0800 Subject: [PATCH] Add note about environment on WSL (#19422) --- docs/BuildFromSource.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index 5ab42b0ec7..3fc873b939 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -139,6 +139,11 @@ source activate.sh code . ``` +Note that if you are using the "Remote-WSL" extension in VSCode, the environment is not supplied +to the process in WSL. You can workaround this by explicitly setting the environment variables +in `~/.vscode-server/server-env-setup`. +See https://code.visualstudio.com/docs/remote/wsl#_advanced-environment-setup-script for details. + ## Building on command-line You can also build the entire project on command line with the `build.cmd`/`.sh` scripts.