Visual Studio Code, with existing C# extensions, already has the ability to deploy to, launch, and debug an application on a remote target device. However, setting it up requires laboriously editing the .vscode/tasks.json and .vscode/launch.json files.
The .NET Remote Debug Configurator is a Visual Studio Code extension that simplifies the process of configuring remote .NET debugging sessions. Instead of manually editing JSON configuration files, developers only need to fill out a form.
Visual Studio Code also has the ability remotely develop and debug applications on a remote target, but on resource constrained devices, performance is slow, consumes too many resources on the target target, and it interferes with the normal operation of the application on the remote target.
Development should be done on a resource abundant development PC. The development PC will quickly build the application, deploy it to the remote target, launch it on the remote target, and attach the debugger with a single F5 keystroke. This extension makes setting that up a matter of simply filling out of small form.
This extension requires Setup passwordless SSH login to avoid having to store a password insecurely in the target's configuration.
ssh-keygen -t rsa
The key pair will likely be stored in your user profile's home directory (i.e. $HOME/.ssh or on Windows C:\Users\{Username}\.ssh).
scp $HOME/.ssh/id_rsa.pub admin@{remote_target_ip_address}:
mkdir .ssh && cat id_rsa.pub >> .ssh/authorized_keys
This extension requires Microsoft's vsdbg to be installed on the remote target. It is usually installed by default on COMFILE Technology's products. But if it's not, run the following command on the remote target to install it.
curl -sSL https://aka.ms/getvsdbgsh | sudo bash /dev/stdin -v latest -l /opt/Microsoft/vsdbg/
You can install it to a different location by changing the -l parameter. If you install it to a different location, then be sure to specify the location when configuring your remote target.

Ctrl+Shift+P to open the command palette.NET Remote Debug Configurator and/or select .NET Remote Debug Configurator from the dropdown menuWhen you open the configurator and have existing remote debug targets:
Ctrl+Shift+D)The extension will automatically:
The extension uses a special comment marker (// Managed by dotnet-remote-debug-config) to identify configurations and tasks it creates. This allows it to:
Please don't remote those comments from the .json files unless you no longer want this extension to manage those configurations.