To debug a user-exit routine, use the debugger on the main compiler module, not on cob2. (The main compiler module is a separate process started by cob2, and the debugger can debug only one process.)
Do these steps:
The debugger automatically stops at the beginning of the user exit, provided that you built the exit with debug information.