I am experiencing an issue with debugging SharePoint 2013 Workflows in a SharePoint App solution:

Workflow debugging prerequisites failed to complete. Would you like to disable workflow debugging in order to debug other parts of this project? Workflows will still be installed but will not have debugging support. (You can re-enable workflow debugging later from Project Properties page - SharePoint tab.)

Has anyone encountered this error?

  • Are you developing an App? If so, I may have an idea.
    – SPArcheon
    Jan 27, 2014 at 15:45
  • Yes, a Provider Hosted App. Jan 27, 2014 at 16:02
  • 1
    Umm. Ok, try to create the App package by using the "Publish" command in visual studio. I have seen that message appearing when you try to debug and the package has not been created before (know it is strange, but we are speaking of Visual Studio...)
    – SPArcheon
    Jan 27, 2014 at 16:22
  • It's definitely creating the App package and deploying as expected. If I turn off Workflow debugging, everything deploys and functions as expected (except I cannot debug my Workflow). Jan 27, 2014 at 16:30
  • @SPArchaeologist publishing the app worked! Sorry for doubting you! Answer the question so I can give you some reputation points :) Jan 28, 2014 at 17:54

1 Answer 1


As strange as it may seem, this error is often experienced when you are debugging a SharePoint App and you never had published your solution (so the solution package has not been created). Use the "Publish" command to create the package and debugging should work normally afterward.

Notice that the deploy functionality works even without the publish step so that could create some confusion.

  • I am facing the same problem but this answer has not solved the issue. I have provided more info on my problem here: Workflow debugging prerequisites failed to complete - VS2013 Autohosted App. Please take a look and share your thoughts. Thank you.
    – Perisdr
    Feb 5, 2014 at 14:49
  • @Perisdr I believe that the main difference is that you are running against SP Online. I will check if anything comes to mind, but I cannot promise.
    – SPArcheon
    Feb 5, 2014 at 15:20
  • According to this Debugging SharePoint 2013 workflows using Visual Studio 2013 you can have debugging of workflows in SharePoint Online. I have successfully debugged remote events in my project using azure service bus. Maybe my VS 2013 isn't properly set up? Or my site-collection? Can't think of anything else
    – Perisdr
    Feb 5, 2014 at 15:27

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.