Is there a recommended way on how to do this?
Please refer to this thread. Re: How to test the custom module in the CCES
The existing debug option is discussed here. We will be happy to give you more details if required.
Retrieving data ...