Set global $PATH environment variable in VS Code

后端 未结 8 1869
温柔的废话
温柔的废话 2020-12-14 02:28

I\'m defining a custom $PATH environment variable in my ~/.bash_profile (on a Mac), like so:

PATH=\"$HOME/.cargo/bin:$PATH:$HOME/bi         


        
8条回答
  •  情歌与酒
    2020-12-14 03:09

    I'm working with ubuntu 18.04. I had a similar problem, my enviroment variables were defined and the terminal knows the $PATH but when I tried to debug with golang, go libraries were not found in $PATH variable.

    So, to solve it I uninstall the default version from ubuntu software and install manually using the following instructions:

    https://code.visualstudio.com/docs/setup/linux

    It works for me.

提交回复
热议问题