I was wondering, can I get an ElixirLS task to run inside a shell of my choice through VSCode? I’ve been trying to debug an Elixir project through VSCode but haven’t been able to get it to build because of issues with bcrypt, and was wondering if and how to get ElixirLS to operate within a shell of my choice with a whole bunch of environment variables set.
I got it to work on my Mac. Not sure what the issue is on my windows machine. Might be an issue with the bcrypt_elixir package.
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.