Here I explained how to publish code to IIS, and here I explained one way to debug your application, but I don't like it, since it is taking too much time to start. Here I have found another way to debug asp.net core application, from my point of view much better. Here I already explained hot to attach to process, the only difference ist that you have to attach to "dotnet.exe":