Sets up a nice set of debug listeners for the flow.
These listeners will log when tasks/flows are transitioning from state to state so that said states can be seen in the debug log output which is very useful for figuring out where problems are occuring.