Questions tagged [vscode-remote]

Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment

Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment

868 questions
0
votes
0 answers

Is there a way to give an unprivileged user access to Docker within Docker?

Motivation Running DDEV for a diverse team of developers (front-end / back-end) on various operating systems (Windows, MacOS and Linux) can become time-consuming, even frustrating at times. Hoping to simplify the initial setup, I started working on…
Pierre Spring
  • 10,525
  • 13
  • 49
  • 44
0
votes
1 answer

VS Code Remote Development using SSH

I've setup VS Code to connect via SSH to a remote IIS server. It setup using the key based authentication so that I don’t need to enter passwords when opening VS code and connecting. If I'm logged in directly to the windows server via RDP, I can use…
0
votes
1 answer

python global module installation when using remote SSH extension

I use remote-SSH to connect the server(ubuntu 20.04) and I find that if I click the button to install the module of python, it is only installed for one user. For example: xxx is not installed, install? Then I find that the command in the…
Lu Chenxu
  • 1
  • 2
0
votes
1 answer

Is there a way to open a VS Code extension tab if it isn't open?

We have a treeview in our VS Code extension which can be toggled on and off by the user by calling a command. However if the user toggles the treeview on and they don't have the remote explorer open (where the treeview is displayed), it looks like…
0
votes
0 answers

Is it possible to set watchpoint in vscode?

Is it possible to set watchpoint in vscode? It has not been supported by 2018\11(i.e https://github.com/microsoft/vscode/issues/55931). Does it work now?
John
  • 2,963
  • 11
  • 33
0
votes
2 answers

VSCode settings - how to get a hostname when using Remote-SSH

I am working remotely via the Remote-SSH plugin on a code which is located on an NFS filesystem on a GPU cluster. The project uses CMake. For debugging, I'd like to be able to work out of any machine on the cluster, and I'd like to use…
Jindra Helcl
  • 3,457
  • 1
  • 20
  • 26
0
votes
2 answers

How do I run VS Code on a docker container but share my local files

I want to run my code in a local docker container, but I want to change the code files on my operating system and not inside the container. I want to do this because I want to: run git outside the container be able to run cypress outside the…
Artur Carvalho
  • 6,901
  • 10
  • 76
  • 105
0
votes
0 answers

How resolve ~ (home) in remote uri?

I wonder if Vscode can resolve folder uris like: "vscode-remote://ssh-remote+cnotch/~/myFolderInMyHome"? I never needed to use absolute path with ssh tools like ssh or scp and seems like it should work with vscode too.
vmiheer
  • 147
  • 9
0
votes
1 answer

How to set up a remote Language Server node process to be debuggable in VS Code?

We have a (internal) VS Code extension implementing the Language Server Protocol for a language. I've checked out the VS Code LS sample to enable debugging on the server, however in the sample, the ServerOptions used to initialize the LanguageClient…
ElFik
  • 897
  • 2
  • 13
  • 31
0
votes
0 answers

Forward port error when debug kubernet pods in VS Code

I am trying to use VS Code to debug kubernetes pod in python. I have successfully debug one pod with Kuberentes: Debug (Attach) command. However, when I tried to debug another pod with the same command, I got error: [E1105 11:54:06.281402 25535…
0
votes
1 answer

error when setting up remote docker server

On my Pi I followed this tutorial to install docker on raspbian. Few side notes here: I did NOT setup a swarm, I stopped at docker info and (as in other guides) I succesfully ran the hello world container. idk if it matters, but this guide (unlike…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
0
votes
1 answer

VS Code ssh remote is not opening file in new tabs

Recently vs code got updated and post that all files of remote server is opening in one tab only. Tab feature is working fine when opening files from local machine but when connected to remote server on ssh, only one file is opening. Tried many…
Raj
  • 105
  • 9
0
votes
0 answers

VSCode language server php improper validation

I have a project setup at AWS, and I do make changes on the server via VS Code ssh-remote connection. Now the problem is php version installed there is 7.0.18 and when I opened the code in VS it shows error that The language server needs at least…
Nimish Bansal
  • 1,719
  • 4
  • 20
  • 37
0
votes
0 answers

Activate another extension when SSH extension is active

I’m developing an extension that activates when a file with a specific extension (.py, .js, etc.) is in the workspace. My extension activates when I am connected to the local workspace within VS Code on my laptop. When I try to connect to my remote…
0
votes
1 answer

Remote machine doesn't ask for git user/password for private repo while accessing through VSCode-Remote-SSH terminal

I ssh to an aws ec-2 from VSCode using Remote-SSH and opened the terminal tried to pull a private repo and it pulled without asking a user name or password. How come is this possible? A security flaw?
sksahu
  • 81
  • 2
  • 9