VS Code extension keeps trying to build Dialyzer PLT

It seems that whatever starts the LS, and therefore the LS and everything it starts, has a malformed view on one of these system variables:

  • XDG_CONFIG_HOME or XDG_DATA_HOME
  • MIX_HOME
  • HOME

When you run eg mix archive.install hex phx_new from a terminal, what does happen then? In that same terminal, what are the values of these environment variable mentioned above?