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
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 ...
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 ...
bc3tech
74388 silver badges2121 bronze badges
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 ...
+50
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 ...
sweenish
1,34477 silver badges1111 bronze badges
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 ...
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 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:
{
"...
Michał Wojas
30111 gold badge22 silver badges1111 bronze badges
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 ...
Gama11
18.9k66 gold badges4242 silver badges6363 bronze badges
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-...
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 ...
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 ...
Tim
5,45622 gold badges3333 silver badges4646 bronze badges
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.
...
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 ...
Charles Xu
13.6k11 gold badge55 silver badges1515 bronze badges
// launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
...
mannok
37477 silver badges1515 bronze badges
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 ...
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>/...
jtonic
40122 silver badges55 bronze badges
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 ...
Pero P.
19.8k55 gold badges5050 silver badges7575 bronze badges
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 ...
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 ...
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 ...
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/...
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 ...
Nandeesh
1,54522 gold badges1818 silver badges3232 bronze badges
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 ...
deive
54233 silver badges1313 bronze badges
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 ...
Gama11
18.9k66 gold badges4242 silver badges6363 bronze badges
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 ...
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 ...
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 ...
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,...
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 ...
Gama11
18.9k66 gold badges4242 silver badges6363 bronze badges
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 ...
Max R
7611 silver badge66 bronze badges
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] ...
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 ...
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 ...
CrazyCoder
317k110110 gold badges808808 silver badges734734 bronze badges
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 ...
FSCKur
30311 silver badge88 bronze badges
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 ...
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 ...
whereswalden
3,82533 gold badges2121 silver badges3434 bronze badges
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?
John Hou
16111 silver badge88 bronze badges
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 ...
kuboon
7,05733 gold badges3030 silver badges2626 bronze badges
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 ...
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 ...
Philip
77722 gold badges1111 silver badges2727 bronze badges
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 ...
Philip
77722 gold badges1111 silver badges2727 bronze badges
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 ...
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 ...
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 ...
Gama11
18.9k66 gold badges4242 silver badges6363 bronze badges
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 ...
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 ...
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 ...
Kate Orlova
2,19644 gold badges77 silver badges2828 bronze badges
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
>...
lordhog
2,36444 gold badges2424 silver badges2828 bronze badges
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 ...
m-y
28.6k2121 gold badges100100 silver badges196196 bronze badges
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 ...