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
8
votes
2 answers

How do you use a different theme in a remote VS Code window

Using VS Code Remote Development (SSH, container, WSL) I want a different theme on my remote and local VS Code windows so that I can easily tell them apart.
Daniel Imms
  • 47,944
  • 19
  • 150
  • 166
8
votes
1 answer

Why aren't some of my extensions enabled when I open a VS Code remote workspace?

I opened a remote SSH workspace in VSCode and some of my extensions aren't enabled. For example, I have the Python and Go extensions installed but when I connect to my remote ssh workspace they don't work. The same also happens in remote workspaces…
Matt Bierner
  • 58,117
  • 21
  • 175
  • 206
7
votes
2 answers

Why automatic port forwarding? How to prevent VS Code from doing it?

My setup is VS Code with a dev container. When I start an application that produces output that looks like a URL, VS Code will extract the port number and automatically forward that port. This process is described in some detail here. My question is…
Manfred
  • 5,320
  • 3
  • 35
  • 29
7
votes
1 answer

Fedora Silverblue : VS code's remote container extension : empty folder

Introduction I'm currently trying to use Remote container of VS Code with Fedora 36 Silverblue OS. And I configured the extension to use Podman instead of Docker. The project with which I try to use the extension:…
7
votes
1 answer

Visual Studio Code remote-ssh creating too many zombie processes

I'm using VS Code's remote-ssh to connect to a Linux server. The output of top is shown below, with the zombie process's command as “node”: How can I solve this problem?
QXian
  • 71
  • 1
7
votes
2 answers

vscode dev container environment variables not exposing to docker-compose

My docker-compose.yml looks like this version: "3.8" services: vscode: volumes: - ..:/workspace:cached - $SSH_AUTH_SOCK:/ssh-agent - /var/run/docker.sock:/var/run/docker.sock environment: -…
7
votes
1 answer

Docker container closes immediately after start

I want to setup learning development container for VSCode on my Windows 10 machine, but when I press "Open Folder in a Container" in VSCode I get an error: [2020-11-24T10:21:22.963Z] [PID 8208] [2020-11-24T10:21:23.070Z] [PID 8208] [8794 ms] Start:…
AndreyKo
  • 1,421
  • 2
  • 11
  • 25
7
votes
3 answers

Vscode (code.exe) command line arguments to immediately open a remote workspace folder over SSH

If I want to open a workspace on a regular local folder under C:\ I can just execute the command: code.exe C:\the-local-workspace-folder Is there any equivalent command for opening remote SSH workspaces? I want to be able to use my keyboard…
LaVache
  • 2,372
  • 3
  • 24
  • 38
7
votes
2 answers

If it is possible to always run remote-ssh and Live Share on my server?

I want to have a server always running Live Share so that I don't have to always have a computer opening the VSCode window to keep Live Share alive. I tried to run Live Share on my server through Remote-SSH extension, however, when I close the…
keon
  • 71
  • 1
  • 2
7
votes
1 answer

Cannot ssh to remote machine in VSCode

I upgraded to VSCode 1.36.0 a couple days ago, and I am not able to ssh into the remote machine since then. When I try to do so, the following error comes up: flock: 99: Input/output error Anyone can help to find a workaround for this?
Saeed
  • 742
  • 1
  • 7
  • 21
7
votes
2 answers

VS Code Remote-Containers: cannot create directory ‘/home/appuser’:

I'm trying to use the Remote - Containers extension for Visual Studio Code, but when I "Open Folder in Container", I get this error: Run: docker exec 0d0c1eac6f38b81566757786f853d6f6a4f3a836c15ca7ed3a3aaf29b9faab14 /bin/sh -c set -o noclobber ;…
43Tesseracts
  • 4,617
  • 8
  • 48
  • 94
7
votes
1 answer

Visual Studio Code Remote Development using SSH to Raspbian

I want to run Visual Studio Code Remote Development using SSH to my Raspberry Pi 3 Model B+ running Raspbian GNU/Linux 9 (stretch). I have tried to follow the "Getting started" instructions. I run the command Remote-SSH: Connect to Host..., but I…
6
votes
1 answer

Make vscode explorer follow the terminal

Is there a way to make vscode explorer follow the terminal? Mobaxterm has such capability. I usually ssh into a remote system and such a feature would be very desirable. Currently, I cd to a directory, then copy and paste the path to "Open Folder"…
Ress
  • 667
  • 1
  • 7
  • 24
6
votes
1 answer

vscode remote is stuck on acquiring lock

I am using vscode for remote development on a server. While my local ssh works perfectly and vscode too manages to connect I cannot understand why it struggles with acquiring a lock: [15:30:21.166] Log Level: 2 [15:30:21.167]…
6
votes
0 answers

How to setup vscode-remote on Windows 10 without Docker Desktop?

I've been using VSCode's remote containers capabilities for some time - such a helpful extension. Problem is, Docker Desktop changed their licensing model and devs are being told not to install it on our machines anymore. Does anybody know how to…
jleonelion
  • 61
  • 1