When we try to debug flow services we use the below services:
We usually disable and enable the above services while debugging the flow logic. I think this is not a good practice :lol:
And also we have a flow step properties called pipeline debug in wM 8.2 and above (you can still use that if you wish)
Here is a very simple sample code that can be used for debugging.
Note: Make sure you pass the same fileName as input to savePipelineToFile and restorePipelineFromFile
Branch on /debug:
PFA screen shot;
Let me know if anyone has questions :lol:
Before you move your code to PROD make sure you remove this lines of code.