SharePoint debugging with visual studio stop the site. I'm looking for a way to debugging SharePoint Webpart with out stopping the SharePoint site.

  • Add logging in your code Jan 12, 2018 at 10:58
  • I can't understand what is your purpose, would you explain more?
    – exir
    Jan 13, 2018 at 7:53
  • If you need to debug smth in production and don't want to attach w3wp, add logging in code: write records in logging SPList or in hidden literal n the page. Records may contain variable values and code stages. If it crashes write to logs exception message and stacktrace and you will error details, where it crashes and variable values Jan 15, 2018 at 4:23

1 Answer 1


Since the site is run with the help of worker processes and you need to attach worker processes to debugger in order to perform debugging of server side code, I think SharePoint site freezing while debugging in on is inevitable.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.