| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| comfilepi:dotnet_core_development:remote_debugger:index [2026/06/11 09:00] – [SSH Authentication] mfranklin | comfilepi:dotnet_core_development:remote_debugger:index [2026/06/12 02:49] (current) – [SSH Authentication] mfranklin |
|---|
| ====== Remote .NET Debugger Visual Studio 2022 & 2026 Extension ====== | ====== Remote .NET Debugger Visual Studio Extension ====== |
| |
| Although it is possible to [[https://learn.microsoft.com/en-us/dotnet/iot/debugging?tabs=self-contained&pivots=visualstudio|manually deploy, launch, and attach a debugger]] to a .NET 5+ application running on a remote device like the ComfilePi, Visual Studio 2022 & 2026 do not have a built-in way to perform all three functions in a single motion. | Although it is possible to [[https://learn.microsoft.com/en-us/dotnet/iot/debugging?tabs=self-contained&pivots=visualstudio|manually deploy, launch, and attach a debugger]] to a .NET 5+ application running on a remote device like the [[..:..:index|ComfilePi]] and [[jpc:index|jPC]], Visual Studio does not have a built-in way to perform all three functions in a single motion. |
| |
| To fill this void in Visual Studio, we have developed a Remote .NET Debugger Visual Studio extension that enables one to deploy, launch, and debug .NET applications on a remote device, all from within Visual Studio, at the click of a button, or an "F5" keystroke. | To fill this void in Visual Studio, we have developed a Remote .NET Debugger Visual Studio extension that enables one to deploy, launch, and debug .NET applications on a remote device, all from within Visual Studio, at the click of a button, or an "F5" keystroke. |
| |
| This extension is for .NET 5 and later. If you need a debugger for .NET Framework 4.x and Mono, use our [[:comfilepi:running_.net_winforms_applications_with_mono:remote_mono_debugger:index|Remote Mono Debugger Visual Studio Extension]]. | |
| |
| ===== Download and Install ===== | ===== Download and Install ===== |
| |
| ^ ^ Date ^ Release Notes ^ | ^ ^ Date ^ Release Notes ^ |
| | | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.6.vsix|ComfileTech.RemoteDotnetDebugger_v1.6.vsix}} | 2026-06-12 | [[.:release_notes:index|Release Notes]] | |
| | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.5.vsix|ComfileTech.RemoteDotnetDebugger_v1.5.vsix}} | 2026-01-28 | [[.:release_notes:index|Release Notes]] | | | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.5.vsix|ComfileTech.RemoteDotnetDebugger_v1.5.vsix}} | 2026-01-28 | [[.:release_notes:index|Release Notes]] | |
| | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.4.vsix|ComfileTech.RemoteDotnetDebugger_v1.4.vsix}} | 2025-09-24 | [[.:release_notes:index|Release Notes]] | | |
| | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.3.vsix|ComfileTech.RemoteDotnetDebugger_v1.3.vsix}} | 2025-07-21 | [[.:release_notes:index|Release Notes]] | | |
| | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.2.vsix|ComfileTech.RemoteDotnetDebugger_v1.2.vsix}} | 2025-06-04 | [[.:release_notes:index|Release Notes]] | | |
| | {{ https://downloads.comfiletech.com/ComfilePi/remote_dotnet_debugger/comfiletech.remotedotnetdebugger_v1.1.vsix|ComfileTech.RemoteDotnetDebugger_v1.1.vsix}} | 2025-04-29 | [[.:release_notes:index|Release Notes]] | | |
| |
| |
| ==== SSH Authentication ==== | ==== SSH Authentication ==== |
| |
| For security reasons, the OpenSSH implementation installed on Windows does not permit authenticating with hard-coded passwords. Therefore, for this extension to work, authentication between the Windows development PC and the remote device must be configured using [[https://wiki.debian.org/Setup%20SSH%20Passwordless%20Login|Setup passwordless SSH login]]. | The extension requires an SSH server to be running on the target Linux device. It supports both password and passwordless (key-based) authentication. Passwords can be stored in the Windows credential manager or entered on demand. |
| | |
| - On your development PC, generate a key pair <code>ssh-keygen -t rsa</code> 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''). | |
| - Copy the public key to the panel PC. Don't miss the trailing colon. <code>scp $HOME/.ssh/id_rsa.pub {user}@{panel_pc_ip_address}:</code> | |
| - Register the public key as an authorized key on the panel PC: Run <code>mkdir .ssh && cat id_rsa.pub >> .ssh/authorized_keys</code> | |
| - The next time you start an SSH session from your remote device, you should not be asked to authenticate with a password. | |
| | |
| {{ https://downloads.comfiletech.com/jPC/videos/jpc_passwordless_setup.mp4?872x856 }} | |
| |
| |