How to debug .net core 2 app on linux server via visual studio 2017 on windows? [Music no 4]

Follow those steps if the app is up and running 🙂

  1. Go to putty:
  2. Debug -> Attach to process
  3. Select Connection type: SSH and write Connection target: root@yourservername.com

  4. You will be asked to provide password
  5. Search for dotnet proccess. Select that process and hit Attach.
  6. Select Managed (.NET Core for Unix) and hit OK
  7. Enjoy of being attached 🙂

 

https://blogs.msdn.microsoft.com/premier_developer/2017/11/10/debugging-asp-core-on-linux-with-visual-studio-2017/

 

Powered by: Wordpress