Blogpost

Published: 2020-06-26

Visual Studio Code ssh remote debugging node.js on Ubuntu

I will show you how to setup ssh remote debugging on Windows 10 for node.js hosted on an Ubuntu server using VS code. It's not too complicated.

Terminal

Table of contents

Server setup

I tested this on Ubuntu 18.04.2 LTS. The client machine is running Windows 10. You need a ssh account for your server (you should be able to connect to your server by using ssh username@host). If you are running linux on your client machine this should work too and you don't have to install WSL 2.

On your ubuntu server install:

  • sudo apt-get install sshfs

On your local machine:

Sources

Tags

#vs_code #tutorial #ubuntu #nodejs