I have some shell scripts, which I would like to execute by name from code during debugging in Visual Studio Code. I need to extend $PATH environment variable to make it happened. Currently, I have following json in launch.json.
{
      "name": "Debug-Linux",
      "type": "go",
      "request": "launch",
      "mode": "debug",
      "remotePath": "",
      "port": 2345,
      "host": "127.0.0.1",
      "program": "${fileDirname}",
      "env": {
        "PATH": "$PATH:$(pwd)/../bin/" 
      },
      "showLog": true
}
Also, I've tried
"env": {
      "PATH": "${env.PATH}:$(pwd)/../bin/" 
},
But, it does not work. How can I extend $PATH environment variable in launch.json in Visual Studio Code?
 
     
     
     
     
    