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

How to fix 'python: not found' error when using PostCreateCommand in vscode remote docker extension

I'm using the Visual Studio Code Remote - Containers extension with a customized DockerFile. It is based on https://github.com/microsoft/vscode-dev-containers/blob/master/containers/python-3/.devcontainer/Dockerfile but uses a different base image…
Allan Wright
  • 140
  • 2
  • 8
4
votes
1 answer

Attach to container on remote host with vscode

In order to have sufficient computational power for my data science workflow, I'm using Docker containers on a remote machine. While I can connect via vscode-remote to my remote machine, I then can't attach to Docker containers running on this…
KaiL
  • 75
  • 1
  • 4
4
votes
1 answer

How do I use other port to connect with Remote SSH VS Code extention

I discover Visual Studio Code Remote Development Extension Pack. I wanted to try it, but my remote is on a 2222 port. I can correctly connect with Putty and my port 2222, same on my Linux laptop with ssh command. What is the correct config to use…
MushuLeDragon
  • 87
  • 2
  • 12
4
votes
3 answers

How do I specify the dockerfile stage in Visual Studio Code Remote?

I have a multi-stage Dockerfile. I want to configure VS Code Remote to build the dev stage of the Dockerfile rather than the last stage in the Dockerfile. I'm pretty sure this configuration would go in the .devcontainer.json file. I've read through…
Christine
  • 135
  • 1
  • 7
4
votes
1 answer

how to execute a shell script which sets up the python virtual environment when debugging with vscode ( What changes do i need to make to launch.json)

So i am using vscode-remote in visual studio code insiders but i think the problem i am facing with vscode-python extension. So i am trying to debug a python file . So the normal execution of the file is as follows : i enable or activate a virtual…
4
votes
1 answer

Using VSCode WSL Remote, why won't Chrome Debugger launch Chrome for Windows?

I'm switching to VSCode WSL Remote mode for a JavaScript project. The Chrome Debugger Extension always look for Google Chrome in Linux. Is this the correct behavior? I have a Chrome for Linux installed in WSL, which could run on X server. The…
4
votes
0 answers

Can I stop VSCode Remote Server re-installing itself when I connect via SSH?

I have got VSCode Remote via SSH working successfully between my Mac client and our Centos server. Our server is not online by default and I have to manually set proxies for it to download the Server. VSCode Server wants to re-wget itself every now…
pmassie
  • 66
  • 5
4
votes
0 answers

VSCode: Display forwarding from docker container in Remote Development Extension

How to set up remote display forwarding from Docker container using the new Remote Development extension? Currently, my .devcontainer contains: devcontainer.json { "name": "kinetic_v5", "context": "..", "dockerFile": "Dockerfile", …
makons
  • 522
  • 1
  • 11
  • 27
4
votes
2 answers

How to detach VSCode from a running container?

This is probably the most stupid question ever, but I can't find an easy way to do it. I successfully attached VSCode to a running container in my machine. But now, each time I open VSCode, it's automatically attached to that container. Is there any…
Jorge Arévalo
  • 2,858
  • 5
  • 36
  • 44
4
votes
2 answers

How do I open a wsl workspace in VS Code for a different distro?

I have both Ubuntu and Debian installed for WSL. When I open a WSL workspace using VS Code remote development, it always opens Ubuntu. How can I open a workspace under the Debian install using WSL in VS Code?
4
votes
1 answer

What is the >< icon in the left of the VS Code status bar?

What is the green >< icon in the left corner of my VS Code status bar? What caused it to show up?
Matt Bierner
  • 58,117
  • 21
  • 175
  • 206
3
votes
1 answer

Remote Perl CGI interactive debugging on VSCode

I want to interactively debug the Perl CGI using Perl debugger on a remote linux machine using VSCode. I tried every possible thing on internet to achieve this but didn't get any success, finally I have come here to get some help. I want to set a…
3
votes
1 answer

How can i see my files on remote Jupyter server? (Vscode)

I want to use vscode on my computer using remote jupyter connection. I applied the steps for the connection, i can create a new notebook and run on this remote server. Bu i want to see my folders on remote server. I want to edit them or create a new…
3
votes
1 answer

Search in files broken on SSH remote target

I have several RaspberryPIs as remotes in VSCode via SSH. In some of them at some point the "search in files" feature has stoped working. It is only searching inside the opened files. [EDIT] After further investigation I found out that on all the…
iTeM
  • 33
  • 6
3
votes
0 answers

How secure is VSCode Remote - SSH for the local machine?

I’ve been looking at Remote - SSH and found the following in the notes: Using Remote-SSH opens a connection between your local machine and the remote. Only use Remote-SSH to connect to secure remote machines that you trust and that are owned by a…