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
9
votes
3 answers

Forwarding ssh agent to VS Code development container to access Github via SSH

I run on Windows and have used. Out of simplicity, I have been using HTTPS towards Github, which appears to be shared and setup on his own when spinning development containers in VS Code. The credentials are shared, as per…
BuZz
  • 16,318
  • 31
  • 86
  • 141
9
votes
1 answer

What is the base.Docker file in VSCode's dev containers for?

In the .devcontainer directories that VSCode uses to build dev images, e.g. the Python 3 one here, they always have a Docker file and a base.Docker file. The base.Docker file is not referenced by either the Docker file nor the devcontainer.json…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
9
votes
0 answers

VSCode - Remote SSH - Git Pull/Sync Not working - It hangs without errors - SSH Key has no passphrase

VSCODE SSH Extension GIT Pull/Sync doesn't work, it hangs. 1.Install SSH-Extension 2. Connect to SSH Host - 3. Open existing git Repo from remote server which is cloned from our internal git server with ssh URL using RSA Key pair without…
np4coding
  • 247
  • 3
  • 12
9
votes
0 answers

SSH Agent Forwarding with Visual Studio Code Remote - SSH extension

I have a RHEL "dev" server running Ansible behind a jumpbox. I need to connect to the RHEL server from a Windows 10 machine using the VS Code Remote - SSH extension for Ansible development work. I am using Git Bash for SSH/*nix stuff. The jumpbox…
Raj
  • 549
  • 2
  • 11
  • 25
9
votes
1 answer

Set environment variables when using Visual Studio Code with remote-ssh extension

I am trying to use Visual Studio Code with Remote-SSH extention (so I am working on a Windows machine while project files are on remote Linux server). In order to build the project (C++ & CMake) I need to execute a script which sets up some…
NwMan
  • 187
  • 1
  • 2
  • 10
9
votes
1 answer

Where's the actual Remote-SSH source code repo on github?

I'm looking for the source to the VSCode-Insider's Remote SSH extension, and everything seems to point to to Microsoft/vscode-remote-release, which has no code, just issues and Markdown docs. Anyone know where the actual extension source is? I'm…
tralston
  • 2,825
  • 3
  • 19
  • 22
8
votes
1 answer

Developing Flutter apps using VSCode remote development

I have searched for a while for a good solution to this but there doesn't seem to be many others with the same setup as I have. My setup consists of a low spec laptop (Surface pro 3) and a server machine (much higher spec) running ProxMox (which is…
Weagertron
  • 161
  • 2
  • 12
8
votes
1 answer

In a vscode development container, is there a way to access the docker container from a different machine on the local network?

I have an app (sveltekit) running inside and would like to access it from other devices on my local network. I can access it normally from the host machine on localhost:3000. I want to access it somehow from another machine on the local network. Is…
8
votes
0 answers

ReactJS with vscode dev containers - hot reload issue

I am using vscode's Remote-Containers to do React development. My dev dockerfile is very simple: FROM node I then open the directory containing the dev dockerfile with remote-containers and create an example React project with: npx…
user3284913
  • 113
  • 2
8
votes
1 answer

How to use vs code dev container with existing docker-compose file?

I cannot seem to find a clear answer for this, I found https://stackoverflow.com/a/68864132/17183293 but it is not very clear and also might be outdated because "dockerComposeFile" is no longer a valid option. I have a project with an existing…
8
votes
2 answers

VSCode with WSL2 - Delayed launching due to no response to ping

Using VSCode with WSL2. Everything was alright until last week. From today, I observed that it is taking time to start the WSL. The following is the log from VSCode. [2021-02-22 06:00:31.458] Resolving wsl+myubuntu2004, resolveAttempt: 1 [2021-02-22…
8
votes
2 answers

How to set multiple folders for a server in VSCode SSH TARGETS?

How to set multiple folders for a server in SSH TARGETS of VSCode Remote Explorer ? SSH TARGETS 10.0.1.123 MyWebSite1 /var/www I need to add MyWebSite2: SSH TARGETS 10.0.1.123 MyWebSite1 /var/www MyWebSite2 /var/www
DevonDahon
  • 7,460
  • 6
  • 69
  • 114
8
votes
1 answer

VS Code remote debug to NodeJs in cluster

I am trying to remotely debug NodeJs application, which uses clusters. When I run my app locally, and I am attaching to it, VS Code see child processes and breakpoints works: VS Code Config: { "name": "Attach", "type": "node", "request":…
8
votes
2 answers

VSCode Remote Container - Error: ENOSPC: No space left on device

I have been using the VSCode Remote Container Plugin for some time without issue. But today when I tried to open my project the remote container failed to open with the following error: Command failed: docker exec -w…
Increasingly Idiotic
  • 5,700
  • 5
  • 35
  • 73
8
votes
3 answers

How to get vscode-remote-ssh extension connects via git bash in windows?

I have vs code configured to use the git bash as a terminal in windows 7. "terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe" I have enabled SSH key based authentication to remotely access a host. All this works fine from…
carluri
  • 93
  • 2
  • 6