Dark mode beta

You’ve been asking for dark mode for years.
The dark mode beta is finally here.

Change your preferences any time.

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

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

How to run Remote SSH server on a different path?

Is there a way to run the VS Code Remote SSH server from a different path? By default, the server runs from ~/.vscode-server-insiders but I have NFS running on the home directory, which might make ...
0
votes
0answers
18 views

Interactive Login with Azure SDKs from w/in VSCode DevContainer

When using devcontainers on a project where we are relying on MSIs for app-to-app communication, we are utilizing DefaultAzureCredential as the class to load either from the local developer's machine ...
0
votes
0answers
9 views

Vscode remote SSH windows debug .NET core application using “Integrated Securiy=True” for Sqlconnection result a failed login

As described in the title, the login to sql server failed with: “Microsoft.Data.SqlClient.SqlException” in Microsoft.Data.SqlClient.dll: 'Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' I can ...
0
votes
2answers
74 views
+50

How to set include paths within Windows Subsystem for Linux in Visual Studio Code

at the moment I am using a windows machine and wanted to try out windows subsystem for linux(wsl) for c++ development. Visual studio code(vsc) provides a neat extension for working on the subsystem ...
0
votes
0answers
13 views

VS Code Remote Error “tar: unexpected end of file”

I use VS Code Remote Development for pretty much all my projects and never had this issue before. (I am using v1.43.2 at the moment) A few days ago I started seeing this error when I open my projects ...
1
vote
1answer
234 views

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) ...
0
votes
0answers
7 views

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: { "...
2
votes
0answers
69 views

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 ...
3
votes
1answer
377 views

Cant connect VScode to linux machine for remote development

I am getting this error on VsCode and have no clue why it fails [15:14:59.543] Log Level: 2 [15:14:59.555] remote-ssh@0.51.0 [15:14:59.555] win32 x64 [15:14:59.560] SSH Resolver called for "ssh-...
2
votes
5answers
712 views

Is it possible to use kerberos authentication with visual studio code remote?

We use kerberos authentication for connecting to our on-prem computing environment. I'd like to use visual studio code remote to do development directly on that server. Based on this section in the ...
0
votes
0answers
13 views

Using multiple Docker files in VSCode remote

My project requires three containers/services: web api db The web and api should both be built from their respective Dockerfiles: api/Dockerfile web/Dockerfile The api and web directories contain ...
1
vote
0answers
54 views

VS Code: connect a docker container in a remote server

I want to work in a container in a remote server. But it doesn't work. Environment: Local: Windows 10 Local Terminal for ssh: WSL in Windows 10 Server: Ubuntu 18.04 I checked these two articles. ...
0
votes
1answer
37 views

Remote VS Code development with code-server

I have deployed the image https://hub.docker.com/r/codercom/code-server which is remote VS code in Azure containers. But now if I want to open any Project(Eg: Angular Project with node and angular cli ...
0
votes
0answers
9 views

Remote Develop and Debug JavaScript by Executing with sudo in VS Code with launch.json Configured for type: npm

// launch.json { "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Launch Program", "skipFiles": [ ...
0
votes
1answer
79 views

Warning: no access to tty (Bad file descriptor) Visual Studio Code

When using VSCODE 1.43 w/ remote-ssh I am unable to access a RHEL7 server and get the following error message: [12:52:12.322] > Warning: no access to tty (Bad file descriptor). > Thus no job ...
0
votes
0answers
10 views

Ho to fix the `getaddrinfo ENOTFOUND marketplace.visualstudio.com` when running a vs code project in Dev Container mode (with proxy pac and VPN)

Given: machine connected through VPN (SitePoint) to company private network vscode runs with the proxy pac configuration switch --proxy-pac-url=http://<myhostname>/<path_to_proxypac>/...
1
vote
1answer
491 views

How can I use an env file to pass environment variables into a standalone vscode remote container?

I am using a standalone Go vscode remote container for development and would like to load environment variables into the container from a file. All examples I can find are using Docker Compose and ...
0
votes
1answer
28 views

VS code can't ssh to server: failed to create hard link

SETUP I have a windows 10 PC connecting to my linux server (ubuntu 18.04.2). I run/edit code on my powerful server by remotely accessing the server through VS code's ssh ability. It is super ...
1
vote
0answers
9 views

Is there a way to open a folder in a container from the VSCode command line using the remote-containers extension?

I have created a .devcontainer/devcontainer.json file in the root of my source tree. But, is there something I can specify on the command line to automatically open the specified folder in that ...
0
votes
0answers
8 views

VSCode Remote-SSH breaks when the DefaultShell parameter in Open SSH is not Windows Command Line

When the DefaulShell is set to e.g. git bash in OpenSSH on my remote machine, VSCode Remote-SSH fails to connect. This is fixed when I change it to cmd. Is there a way to fix this as I would prefer ...
0
votes
1answer
12 views

EACCESS error when installing packages on WSL

I'm getting this error trying to NPM INSTALL packages on WSL from VS Code. npm ERR! Error: EACCES: permission denied, rename '/mnt/d/DEVRepo/PWS/functions/node_modules/cssstyle' -> '/mnt/d/DEVRepo/...
1
vote
1answer
61 views

How can I set a path to setup.cfg in vs-code for its python plugin?

I have a development directory in which a python package is kept as a sub-directory. The package itself does not ship a setup.cfg, however, I like to have some development related settings which I do ...
0
votes
0answers
13 views

VSCode Remote SSH commands not found on Chromebook

I have successfully installed Visual Studio Code on my ASUS C101P thanks to the ARM64 build by https://code.headmelted.com/ Unfortunatly when I try to run any command from any of the Remote ...
0
votes
0answers
17 views

Initialize VS Code with remote environment script

I am using VS Code Insider for remote development of C++ apps. Host is an Ubuntu machine. When I open Visual Studio Code Insider on my Windows machine, I can SSH to the host and open appropriate ...
2
votes
0answers
20 views

Attach vscode to a running container on ssh server

I have successfully connected to the ssh server in VS Code using Remote-SSH. I can attach the VS Code terminal to the running container on the server but cannot attach the VS Code editor itself to the ...
0
votes
0answers
18 views

VsCode remote development - Containerized enviroment running on a VM

I am struggling to set up a remote vscode development enviroment for the following architecture: Local machine that runs vscode, this is where i instantiate the remote process A remote VM that runs ...
0
votes
0answers
22 views

Changing fonts in vscode remote SSH

I am currently settings up a vscode remote environment, allmost everything is working fine but fonts on Editor, output, debugger, terminal are not the one I chose. Setup Local OS : Windows 10 ...
7
votes
4answers
557 views

Visual Studio Code Remote SSH uses Windows username instead of username in ssh_config

I'm using Visual Studio Code on Windows 7, along with Microsoft's Remote SSH extension. I added new remote host, and saved configuration in ssh_config file. When I open that file, everything looks ok,...
0
votes
0answers
16 views

What are the “unintended consequences” of installing VS Code Extensions inside a container using Remote Development Containers?

I'm using Docker, VS Code, and the Remote Development Containers extension. According to Microsoft's documentation they describe different ways to improve the performance of the containers. One of ...
2
votes
1answer
272 views

ssh in vscode error: Permission denied (publickey,password)

So I'm using the "Remote - SSH" plugin in VSCode to connect to my VPS and edit my code. I lost the connection, then had to hard-reset it after 30+ min. Now I can't access it with VSCode anymore [putty ...
1
vote
1answer
36 views

VS Code Remote - windows path with whitespace in it - ssh error

I want to connect to my server via ssh. I have installed the remote dev package in VS Code, I can connect via ssh in VSC terminal, but not via the ssh 'panel'. When I do so, I get: [10:45:40.155] ...
0
votes
1answer
24 views

Is it possible to specify the path to the libstdc++ in VS Code clangd extension?

I use VS Code as my main code editor for my C++ development. I am using the remote SSH extension by Microsoft to access my office workstation from home. For the C++ autocompletion and linting I use ...
0
votes
1answer
35 views

Looking for IntelliJ Remote Dev experience similar to VS Code Remote Dev Extension Pack [closed]

VS Code allows a local development experience with source code and source execution on a remote machine: https://code.visualstudio.com/docs/remote/remote-overview Is there a similar tool to this for ...
2
votes
1answer
118 views

Use VSCode remote development on docker image without local files

Motivation As of now, we are using five docker containers (MySQL, PHP, static...) managed by docker-compose. We do only need to access one of them. We now have a local copy of all data inside and ...
1
vote
1answer
36 views

Is there a way to reconnet to a disconnected VS Code Remote SSH connection?

When you're running VS Code Remote SSH and loose network connectivity over a long period of time and return to VS Code, the status on the bottom left show's "Disconnected from SSH: ". However, there ...
1
vote
0answers
37 views

How can I use VsCode Remote on a team?

I work on a team of software engineers who support a suite of Python services. We use docker orchestrate those services in development. For example, I might edit code in one service, and when I save a ...
1
vote
0answers
15 views

The files and folders specified in gitignore don't grayed out in vscode remote development mode

The files and folders specified in gitignore don't grayed out in vscode remote development mode. Is there something I missing? or it does not supported natively in remote development mode?
1
vote
1answer
63 views

VSCode - open remote from cli

I use the new VS Code remote feature all the time and it is superb. I'm wondering if it is possible to open a specific ssh host / folder from the cli. That way I can script a spin up of my dev ...
0
votes
0answers
29 views

Cant ssh with VS Code anymore

I have been using the Remote - SSH feature since it has been releases for SSHing into several CentOS 7 systems one is a Nagios server and the other one is a Ansible server. Starting yesterday I ...
0
votes
0answers
10 views

Where can I see the docker-compose output in VS Code remote container?

In below image VS Code is getting an error running docker-compose. When I run that command outside of VS Code it works. Is there a log or a way to see the docker-compose output, to see why it is ...
1
vote
0answers
23 views

How to “Attach Visual Studio Code” to container on remote EC2 instance

For the last month I can only connect VS Code to remote docker containers maybe 10% of the time I try to do it. When it works, it works great, but I cannot reliably connect when I want to. Right now ...
1
vote
1answer
136 views

VsCode Remote SSH .vscode-server taking up a lot of space

I got an alert this morning for disk space in /home on a multi user remote SSH dev environment server. Running partition -$xdev -type f -ls | sort -k 7 -r -n | head -20 I saw that the largest ...
0
votes
0answers
17 views

VSCode ignoring breakpoints during debug in python

I'm trying to debug a Django project with VSCode. Everything works fine, I get the output and VSCode footer goes purple (debug mode) but it just ignores the breakpoints. I'm working on WSL (vscode ...
0
votes
0answers
21 views

Change VSCode remote temporary directory during extension installation process

I connected to a remote host via Remote-SSH extension successfully. When I tried to install extensions on the remote host, the process failed because I don't have write access to /tmp, and VSCode ...
0
votes
0answers
39 views

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 ...
0
votes
1answer
24 views

VS Code Development Containers with relative folders above root folder

I am struggling with my VS Code setup in connection with the container extension. My project structure has one project folder and several libraries on the same level (i.e. libraries are not ...
0
votes
0answers
30 views

Permission on denied error when installing packages in VS Code

I'm using WSL with Ubuntu 18.04 LTS on Window 10. And, to connect Ubuntu and VS Code, I also installed remote-WSL and connected them successfully (maybe). But, in the VS Code terminal, when I ...
0
votes
0answers
16 views

VS Code remote connection errors out WSASend response of 10060 and 10054

I am trying to debug connection errors with VS Code using Remote. From the logging (set to LogLevel DEBUG3) I see that the connection succeeds [20:38:40.382] > debug3: receive packet: type 52 >...
1
vote
0answers
19 views

Is it possible to use a single docker volume to map to two different directories?

I am using VS Code, Remote Development Containers, and Docker to create development environments within containers. Everything works fine, but I did notice that when working with different projects ...
0
votes
1answer
26 views

How do I make visual studio code running on my laptop connect to remote machine via ssh and build/debug on docker container on remote machine

I have a mac laptop where I am running Visual Studio code. My source code lives on a bigger Linux machine which has docker installed, with a docker image that has my build environment. I would like to ...

1
2 3 4 5