microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.62k stars 29.42k forks source link

VSCode tunnel cannot use new environment variables #234324

Open kirning opened 1 day ago

kirning commented 1 day ago

I started the VSCode tunnel service on the server, and then installed a Node.js application on the server side. It works fine when used directly through PowerShell on the server, but when I connect to the server's tunnel from my local machine and use the terminal in VSCode, it prompts that the command is not found. I have restarted the tunnel service, but it still doesn't work. What should I do?