1

I have the default .net core 2.1 MVC application open with build mode set to debug. It is being hosted on IIS Server running on windows server 2016.

I publish the solution to a mapped network drive of a remote server with configuration set to debug from visual studio. When I connect to the "w3___" process it open's up a debug session but all breakpoints have the following message and don't get hit:

"The breakpoint will not currently be hit. No symbols have been loaded for this document"

Please advise on how to get breakpoints working.

8
  • What kind of remote server, Windows or Linux? Commented Dec 12, 2019 at 12:45
  • Windows Server 2016 Commented Dec 12, 2019 at 13:10
  • Then how did you set up remote debugging? Did you install Visual Studio remote debugger on that remote server? Commented Dec 12, 2019 at 13:31
  • 3
    You attached to the wrong process, blog.lextudio.com/… Commented Dec 12, 2019 at 17:37
  • 2
    Thank you - that worked! Commented Dec 18, 2019 at 15:52

1 Answer 1

2

For those still wondering about this, the question was answered by @Lex Li. For .net core you need to attatch to dotnet.exe rather than the w3 process.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.