At times when code is having bugs or issues, we go for debugging to check out where exactly is the issue. The debugging process for Custom Workflow is a bit different from the plugin debugging process. So, let us start with the steps.
Step 1:
Run Registration tool > Click and install profile installer


Step 2:
Click on Profile Workflow > Find and select the triggering OOB Workflow > Click Ok



Step 3:
Trigger the workflow. In my case the triggering point is “On Create of Account”

Step 4:
Select the custom workflow assembly > Click debug > add details

Profile: A log will be created using the trigger point and add that log to the tool.

Assembly location: Browse to the custom workflow DLL and add it to the tool.
Step 5:
Click Attach Process > Find Registration tool > Ok


Step 6:
Click Start Execution.


Bam! We have successfully executed the Custom Workflow debugging process.
Step 7:
Ones done with debugging remember to uninstall the profiler.






