Search code examples
visual-studioremote-debugging

Remote debug web service in VS 2019


I've followed all the steps shown in this link but couldn't get VS 2019 to stop the execution in the breakpoint that I've set. After attaching VS 2019 to the correct w3wp.exe process, I've used WCF Test Client to call the .asmx service on the remote server but the execution goes just like before, when there was nothing attached to it.


Solution

  • I believe the way I've deployed the binaries was wrong. Instead of building the project and copying the files from the bin folder to the server, now I've used the Publish option and it worked.