Microsoft

Debugging .NET Core on Unix over SSH

Jan 26, 2017aman_satveerraj
Debugging .NET Core on Unix over SSH
SummaryAI, from the source post

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