User Tools

Site Tools

한국어

comfilepi:dotnet_core_development:remote_debugger:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
comfilepi:dotnet_core_development:remote_debugger:index [2026/02/20 15:37] – created - external edit 127.0.0.1comfilepi:dotnet_core_development:remote_debugger:index [2026/06/12 02:49] (current) – [SSH Authentication] mfranklin
Line 1: Line 1:
-====== 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]]  |+
  
  
Line 32: Line 28:
 ==== 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 =====
Line 48: Line 35:
 The remote device must have the ''vsdbg'' utility installed. The remote device must have the ''vsdbg'' utility installed.
  
-==== Bookworm ==== +==== Trixie and Bookworm ==== 
-If using our ComfilePi Bookworm OS, ''vsdbg'' is installed by default to ///opt/Microsoft/vsdbg/vsdbg// If it is not installed it can be installed by running ''sudo apt install cpi-vsdbg''.+If using our ComfilePi Trixie and Bookworm OS, ''vsdbg'' is installed by default to ///opt/Microsoft/vsdbg/vsdbg// If it is not installed it can be installed by running ''sudo apt install cpi-vsdbg''.
  
 ==== Other OS Variants ==== ==== Other OS Variants ====
comfilepi/dotnet_core_development/remote_debugger/index.1771601855.txt.gz · Last modified: by 127.0.0.1