A method for debugging a collaboration in an interchange server, the
method comprises steps of: attaching a running collaboration executing a
business process; initiating a debugging session; receiving a set of
breakpoints to be inserted into the collaboration at designated points in
the process; stopping the running of the collaboration at one or more of
the breakpoints; and presenting a user with information relating to where
the process has stopped, the status of the process flow, and how to
continue the process. The method further includes exposing a set of
debugging application programmer interfaces (APIs) to be used in
debugging the business process.