How to pass environment variables to ElixirLS in VSCode

There are a couple of threads on bcrypt compilation issues on Windows. Eg Error compiling :bcrypt_elixir and :argon_elixir. You will need to install the MS dev tools and do an initial build from a command shell that has paths set correctly for those dev tools. Once you’ve built once you should be fine to run VSCode and ElixirLS as normal.

1 Like