Manually starting the remote server and connecting to it (reopening #6338)
This is a reopening of #6338, the original ticket explained the request pretty well and is quoted below. This also applies to python venv which is the primary use case of python nowadays.
It would be really helpful, if I could start the visual studio server on the remote manually and connect to it afterwards, because it would make it really easy to setup an environment. On my local system I can do the following workflow:
# setup cmake, nvcc, environment variables ...
conda activate dev-environment
code . &
On the remote system I can't do it and I already tried different stuff, like RemoteCommand and a modified .bashrc. But it looks like, that the remote-ssh extension ignore it and run the server in a "clean" bash environment.
This could work for you: https://code.visualstudio.com/blogs/2022/07/07/vscode-server
It's in private preview for now and you can sign up to get access over the next few weeks
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!