| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| comfilepi:dotnet_core_development:remote_debugger:index [2026/06/08 08:52] – [Trixie and Bookworm] 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 public/private keys. | 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. |
| | |
| For the ComfilePi and other Raspberry Pi devices, this can be configured very easily using the [[https://www.raspberrypi.com/software/|Raspberry Pi Imager]] program when [[comfilepi:raspbian:index|installing a new OS image]]. | |
| | |
| | {{:comfilepi:running_.net_winforms_applications_with_mono:remote_mono_debugger:pi_imager_1.png?450|}} | {{:comfilepi:running_.net_winforms_applications_with_mono:remote_mono_debugger:pi_imager_2.png?450|}} | | |
| | |
| For more information see [[https://www.raspberrypi.com/documentation/computers/remote-access.html#ssh|Raspberry Pi's documentation]]. | |
| | |
| Verify SSH authentication between the Windows development PC and the remote device using the ''ssh'' command in a Windows terminal. It should not prompt for a password. | |
| |
| {{ :comfilepi:running_.net_winforms_applications_with_mono:remote_mono_debugger:test_ssh.mp4?900x506 |}} | |
| |
| ===== Installing vsdbg ===== | ===== Installing vsdbg ===== |