Debugging .NET Core on Unix over SSH
Jan 26, 2017aman_satveerraj

Summary
This post details how to set up Visual Studio 2017 RC3 to debug .NET Core processes running on Linux over SSH. It covers machine setup (installing SSH server, unzip, curl/wget on Linux; installing relevant workloads in VS 2017 RC on Windows), application deployment strategies (building on Linux vs. transferring artifacts), and the process of attaching the debugger via 'Debug->Attach to Process...', selecting 'SSH' as the connection type, specifying the target host, and choosing 'Managed (.NET Core for Unix)' as the code type. It also highlights the recommendation to use debug-compiled code and enable Portable PDBs.
More from the Visual Studio Output Window Debugging trail
- Reattach To Process in Visual Studio 2017
- 7 Ways to Look at the Values of Variables While Debugging in Visual Studio
- Using the New Exception Helper in Visual Studio 2017
- Break on Exceptions Thrown only from Specific Modules in Visual Studio 2017
- Updates for Debugging Installed App Packages in Visual Studio 2015 Update 2