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

Debug .NET apps on Raspberry Pi - dotnet has exited with code 0

I have a question regarding debugging in VS Code. I have created simple console app. I deployed the solution to a Raspberry PI, connected via SSH, and ran the app. It worked. I would like to use the debugger with this solution. I tried to…
4
votes
2 answers

Generating development container with vsc and copying requirements.txt

My directory structure is this: app-dash\ .devcontainer\ devcontainer.json Dockerfile app.py requirements.txt etc.files I want to have these lines in my Dockerfile COPY requirements.txt /tmp/pip-tmp/ RUN pip3…
Dean MacGregor
  • 11,847
  • 9
  • 34
  • 72
4
votes
3 answers

copy text from tmux inside VSCode

I use VSCode on macOS, I ssh into Linux remote station and here I run tmux (inside VSCode integrated terminal). However, I am not able to copy any text from tmux into system clipboard when used like this. I am not even able to select the text using…
romanzdk
  • 930
  • 11
  • 30
4
votes
0 answers

Visual Studio Code SSH Remote: continue running jupyter notebooks/python cells after closing the connection

I am using the Visual Studio Code SSH connection. In Python, one can use a jupyter notebook .ipynb or cells divided by #%% in a .py file to open an interactive prompt. I would like to close the ssh connection but keep the jupyter notebook or the…
Uwe.Schneider
  • 1,112
  • 1
  • 15
  • 28
4
votes
1 answer

VS Code: Use the list of multi-root workspace folders during dev container build

I have a ~/projects/ directory with a bunch of cloned Git repos in it. I like to select subsets of these and save them as VS Code multi-root workspaces as ~/projects/*.code-workspace. I also use a dev container, configured with…
4
votes
2 answers

Failed to save 'file.ipynb ': Cannot read properties of undefined (reading 'logger')

So usually i open my terminal and paste a ssh target link like the one below and then open localhost:1234 on some browser like chrome.I use this server to run heavy jupyter notebooks that could potentially fry my laptop. But i wanted to use vscode…
4
votes
2 answers

VSCode SSH to remote - node: not found

SSH from VSCode (Mac) to a remote host (Raspberry Pi) stopped working a while ago. I have searched the web for solutions, but whatever I did - I was unable to solve the issue. I tried rm -rf ~/.vscode-server and then connect again - It did not…
4
votes
1 answer

Live Share Visual Studio Code Join or Share not working

I can't join a live share session by the link given to me. It keeps loading or sometimes says RPC connection closed? I have installed Live Share Extensions Pack as well as I am logged into github in VS Code. Please let me know if anyone needs more…
4
votes
2 answers

Why does VS Code remote WSL launch mstsc.exe (Remote Desktop Connection)?

I've noticed whenever I launch a VS Code WSL session I get an mstsc.exe (Remote Desktop Client) process running. I don't think this is a problem in itself however mstsc is causing some flickering and poor overall system performance even though CPU…
4
votes
0 answers

What is the recommended (or a good) approach to use devcontainers with user-specific settings?

Apologies if this is somehow an opinion-based question... I would like to see if anyone has any good recommendations on how to handle user- and project-based settings for devcontainers. What I mean by that is how to be able to use the Dockerfile and…
4
votes
4 answers

After Establishing a Remote-ssh connection to the server, it appears the vscode-server does not finish the installation

I am using the Remote-ssh extension with VS Code (Insiders) to connect to an AWS Linux server. This connection is authenticated with a SSH key stored on my local machine. After I connect, a terminal titled "install" is opened and the following is…
Charles Williams
  • 574
  • 2
  • 12
  • 30
4
votes
1 answer

how to visualize images in debug console when im using vscode via remote ssh

I am using vscode remote ssh and connect to my server (a node in a cluster) via ssh. My local machine is Windows and my Host is ubuntu. My vscode is being used to code in python. I am trying for weeks to be able to run a python code and display…
4
votes
2 answers

Xdebug 3.0 WSL2 and VSCode - Configuration That Works

Most examples on the web for getting PHP debugging working with VSCode and WSL use Xdebug 2.x php.ini settings. Those no longer work with version 3.0. See the Xdebug Upgrade for details on changes. The following worked for me on a PHP project with…
Jim D
  • 65
  • 1
  • 8
4
votes
2 answers

Using vscode causing "vscode-remote link" Windows dialog to repeatedly display

I use the VSCode SSH extension to remote into my desktop computer. I had to re-install my local copy of VSCode on my Windows machine last week. Since then, I've been repeatedly getting the following prompt. It seems to appear whenever my terminal…
KurtPreston
  • 1,062
  • 14
  • 28
4
votes
1 answer

VS Code Remote - SSH: difference between "Lockfiles in Tmp" and "Use Flock"?

I am trying to use the VS Code extension Remote - SSH (v0.63.0) to develop C/C++ code on a remote system. The remote system is a cluster of tens of Linux (Ubuntu 14) machines using OpenAFS. I have run into a problem: Initial connection: works…
Intrastellar Explorer
  • 3,005
  • 9
  • 52
  • 119