8-Week Microsoft Teams AppDev Accelerator Program
Limited seats available! - Start date: Wednesday, April 16, 2025
Join Today & Save $1,000
articles

Script to Help with SharePoint 2013 Workflow Debugging

I explain debugging workflows in SharePoint 2013 using Fiddler and recommend recycling SharePoint services after closing Fiddler to avoid issues.

Script to Help with SharePoint 2013 Workflow Debugging
by Andrew Connell

Last updated August 22, 2012
1 minute read

Share this

Focus Mode

  • Feedback & questions

A few weeks back I blogged how to set up your SharePoint 2013 box to debug workflows and then showed how using that technique it really helped with an issue I was having. One aspect of doing this workflow is you have to fire up Fiddler, then recycle the workflow & SharePoint services so when they come back up, traffic goes through Fiddler. The trick is when you close Fiddler, you need should recycle those services so they aren’t stuck passing through some non existent process (Fiddler).

This kept screwing me up so I wrote a little script that does the following:

  • Fire off Fiddler
  • Restart workflow & SharePoint services
  • Wait until Fiddler gets shut down
  • When Fiddler closes…
  • Restart the workflow & SharePoint services
Andrew Connell, Microsoft MVP, Full-Stack Developer & Chief Course Artisan - Voitanos LLC.
author
Andrew Connell

Microsoft MVP, Full-Stack Developer & Chief Course Artisan - Voitanos LLC.

Andrew Connell is a full stack developer who focuses on Microsoft Azure & Microsoft 365. He’s a 20+ year recipient of Microsoft’s MVP award and has helped thousands of developers through the various courses he’s authored & taught. Whether it’s an introduction to the entire ecosystem, or a deep dive into a specific software, his resources, tools, and support help web developers become experts in the Microsoft 365 ecosystem, so they can become irreplaceable in their organization.

Feedback & Questions

newsletter

Join 10,000+ developers for news & insights

No clickbait · 100% free · Unsubscribe anytime.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 Space!
blurry dot in brand primary color
found this article helpful?

You'll love these!

MSDN Published More of my SharePoint 2013 Code Samples

MSDN Published More of my SharePoint 2013 Code Samples

August 2, 2012

Read now

Troubleshoot & publish workflows in SharePoint 2013 Beta 2

Troubleshoot & publish workflows in SharePoint 2013 Beta 2

August 14, 2012

Read now

Register SharePoint 2013 High-Trust Apps Using S2S Easily

Register SharePoint 2013 High-Trust Apps Using S2S Easily

August 7, 2012

Read now

bi-weekly newsletter

Join 10,000+ Microsoft 365 full-stack web developers for news, insights & resources. 100% free.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 ecosystem!

No clickbait · 100% free · Unsubscribe anytime.

Subscribe to Andrew's newsletter for insights & stay on top of the latest news in the Microsoft 365 Space!