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

Why cant VSCode using remote ssh server open file in the same directory?

I wrote a very simple test that is failing: with open('file.txt', 'r') as f: print(f.read()) While the file is very much there, it is giving an error: FileNotFoundError: [Errno 2] No such file or directory: 'file.txt' How am I supposed to…
0
votes
1 answer

VSCode SSH remote friendly host name

I have this .config file for SSH hosts: Host 10.32.1.43 HostName 10.32.1.43 User root ForwardAgent yes Host 10.32.0.39 HostName 10.32.0.39 User administrator ForwardAgent yes Can I give more friendly names to my machines, instead of…
baruchiro
  • 5,088
  • 5
  • 44
  • 66
0
votes
0 answers

Access files from one computer to another using remote extensions

I have some code on my own computer but while I'm moving, I'd like to access files on this computer from my laptop I thought about using vscode remote extensions but I'm having trouble connecting to my pc I think I should expose my pc to ssh access…
Armaldio
  • 33
  • 1
  • 7
0
votes
2 answers

Connect vscode to my remote server using FTP-SIMPLE extension

I want to connect to my server using ftp-simple extension in vscode. But when i try to do ftm-simple: confi, i am getting the following error. Running the contributed command: 'ftp.config' failed. Can someone help me out with this ?
Kaverappa KU
  • 87
  • 1
  • 7
0
votes
2 answers

Start remote container without "sleep infinity" command in docker compose

Working with remote containers in VS Code, I want to start an Ubuntu container (which later starts a Flask server) without the default sleep infinity command, so I can later reach that container from the host. TL;DR If I remove the sleep infinity…
Bennett Dams
  • 6,463
  • 5
  • 25
  • 45
0
votes
1 answer

Can I capture breakpoint event on vscode?

I want to capture a breakpoint event on the debugger adapter in order to create an action in response. Can it be done?
0
votes
1 answer

VSCode server extension installs itself on host instead on the CT

I'm trying to set up a remote development using VSCode and its remote extension but I've got a problem. The extension install itself on the Proxmox host instead on the Container indicated in config file. The extension connects perfectly to the…
KaMZaTa
  • 535
  • 2
  • 9
  • 24
0
votes
1 answer

How to access .NET Core webapi service launched from VSCode debugger within remote devcontainer from host machine

I can't access containerised .NET services from host when dll started from remote VSCode's debugger. I can access the services from host machine when the dll is run manually with the dotnet command from container (using curl) when dll is run…
matrumz
  • 117
  • 1
  • 1
  • 11
0
votes
2 answers

I want to use the code . command inside WSL to open vs-code-insiders with remote

I'm using Windows Subsystem for linux and the best text editor experience so far has been VS Code- Insiders with their WSL remote addon. However, despite repeated efforts I've only had partial success in replicating the functionality where within my…
0
votes
1 answer

Switch from userA to userB

In my situation, I first need to connect to a UserA then su - UserB in order to have access my files. But when I'm trying to connect with the extension it didn't recognize the server version. Host some_name User userA HostName xxx.xxx.xxx.xxx …
dane ye
  • 11
  • 1
0
votes
1 answer

Using ENV Variables to launch container in VSCode

My docker-compose.yml looks like this services: my-service: image: ${PYTHON_IMAGE}:${PY_VERSION} these ENV variables are declared in WSL, however when I use VS code remote container to launch the development in the container, it will fail, I…
0
votes
1 answer

VSCode: Remote - SSH extension - nothing happens when trying to conncet to remote server

I have recently discovered vscode and the remote development extension, and wanting to try it out, but I can't get the damn thing to connect to my development server. I've installed the both the vscode and vscode insiders packages by downloading the…
inckie
  • 191
  • 3
  • 12
0
votes
1 answer

VS Code remote container development, Self signed error

I am using VS code behind a proxy, when I launch my application in vscode using remote-container: Open Folder in Container, I get the following error Last 5 lines from console are as follows Installing VS Code Server for commit…
0
votes
1 answer

Opening folder with Remote-Container fails due to PowerShell being used to execute Dockerfile build steps

I was hoping to test out the new Remote Development extension using the Remote-Containers functionality. I grabbed the sample Python project and opened it using the Remote-Containers: Open Folder in Container... function. The initialisation process…
jxm
  • 23
  • 5
0
votes
2 answers

ECONNREFUSED 127.0.0.1:80 when connecting to remote Docker with Visual Studio Code

I want to develop code inside a container on a remote Docker host with VS Code, but I cannot connect to Docker on the remote machine via SSH (ECONNREFUSED 127.0.0.1:80). Following the VS Code instructions to use a SSH tunnel…
Felix Popp
  • 1
  • 1
  • 1
1 2 3
57
58