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

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 control in this shell. [12:52:12.562] stderr> stty:…
0
votes
1 answer

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 connect to the remote desktop via ssh, and then…
duli
  • 1,621
  • 3
  • 16
  • 25
0
votes
0 answers

How do you connect to a SQL Server database from within a dev container?

I'm currently working on a .NET Core project. When I run the application on my local machine (Windows) I can connect to a SQL Server database using my windows credentials. I am attempting to shift into using a devcontainer within Visual Studio Code,…
michael
  • 787
  • 2
  • 6
  • 12
0
votes
1 answer

Can't open VSCode from command-line WSL ZSH

So I decided to quit dual-boot and start using WSL. I'm having a problem and really can figure out how to fix it. I simply can't open VSCode using the code command from the terminal when using an external terminal. When using the integrated, a…
0
votes
1 answer

Visual Studio Code + WordPress + Docker: VS Code Not Sourcing Apache envvars File

I do volunteer work on a WordPress site for our local non-profit radio station, and with a total website overhaul in the works I decided to set up WordPress with Docker and Visual Studio Code's Remote Development features since I enjoy that setup so…
0
votes
1 answer

Is there any vscode plugin to sync between folders in different machine?

In my organization , the development machines are in office network and lab environment is in private network. Due to this code will be written in lab environment then we will copy it to office network and push the changes. Doing this manually is…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
0
votes
1 answer

Wsl2 why develop in this environment

I understand the principal of having Linux on your windows box over using a VM. I have seen articles on using vscode in wsl with the vscode wsl extension. My question is why would I do this over just using vscode on Windows. Might sound like a silly…
Noel
  • 5,037
  • 9
  • 46
  • 69
0
votes
1 answer

Failed to establish TLS connection when downloading vscode-server with VSCode remote container

I tried to attach to a container from Mac OS X. I got messages below. [0 ms] Start: Resolving remote [1 ms] Setting up container rails_web_1 [43 ms] Start: Check Docker is running [70 ms] Start: Inspecting container [123 ms] Start: Run in…
0
votes
1 answer

Visual Studio Online Containers

I'm trying to create a remote environment using Visual Studio Code. I would like to create a custom dockerfile for my container. I've been following the guide here: https://learn.microsoft.com/en-gb/visualstudio/online/reference/configuring I'm…
simon_dmorias
  • 2,343
  • 3
  • 19
  • 33
0
votes
1 answer

How can I change WSL (Windows Subsystem Linux) terminal font color in vscode?

I noticed that if I open WSL terminal natively it doesn't have these bright colors and it's much more visible... When I change VSCODE's color theme terminal font coloring follows but never gets better :) vscode color theme #1 vscode color theme…
sarka
  • 5
  • 1
  • 7
0
votes
2 answers

Remote editing over ssh to windows server

Remote SSH plugin states VS Code Insiders has experimental support for Windows 10/Server 1803+ using the official OpenSSH server. I have the official OpenSSH server installed and configured on Windows Server 2019 1809. I can connect via pubkey…
0
votes
0 answers

How to setup powerline-go in vscode running in WSL2 (Ubuntu)

These are the contents of my ~/.vscode-server/server-env-setup function _update_ps1() { PS1="$($GOPATH/bin/powerline-go -error $?)" } if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then PROMPT_COMMAND="_update_ps1;…
0
votes
1 answer

context.storagePath is empty (except meta.json) but cached data is still available while debugging [REMOTE SSH]

I do have a really spooky issue while debugging my extension. Since I am using the workspaceState to cache information I tried to figure out where the state is usually located. ExtensionContext.storagePath result into a path I was expecting…
Ole K
  • 754
  • 1
  • 9
  • 32
0
votes
2 answers

What is difference between sshcode and VS Code Remote Development Extension

I really love the concept that I can write codes by using my laptop but all the hard things will run in the server. So I did some research and found 2 solutions: sshcode which introduce by Coder Technologies Inc. (https://github.com/cdr/sshcode) VS…
Linherest
  • 21
  • 5
0
votes
0 answers

VS Code incomplete classpath even with a .classpath file

I am writing Java in VS code using the Language Support for Java by RedHat, and Remote - SSH extensions. I'm importing an already existing project that has a .classpath file at the project root (this worked fine in IntelliJ). When I open the folder…
Adam Griffiths
  • 680
  • 6
  • 26
  • 60