Debugging Natural program when triggered from IMS Transction (from Java Application)

In our project, we are using Java Application that triggers Natural programs through IMS Transaction.

Is there a way of debugging the natural program once its triggered through IMS Transaction?

This is pretty urgent, can anyone please respond?

Thanks,
Jayashree

Is the Natural program running inside IMS as well, or are we talking about a Natural RPC Server ?

On which platform is Natural running ?

The Natural is running on z/os, the version of Natural that is being used is 08.02.03 and the TP is IMS/TM.

I assume this is then using IMS Connect for Java to trigger a Natural program in IMS/TM ?

In that case you won’t be able to interactively debug the application, you will have to resort
to writing debugging information to the log or a file instead.