Debug call to XSJS from Java Application
I’ve developed an XSJS application that provides a REST API. That API is consumend by a Java Application running on an external system. The Java Application receives HTTP calls (e.g. from a mobile phone), does some processing, calls the XS Application, does some processing again and sends a response to the caller.
Is there an “official” way to debug such a scenario? I used a little hack that injected the cookies from my browser session into the Java Application to get connected to the current debug session in the webide. But that stopped working shortly for unknown reasons (on the HCP as well as on our on premise installation).
So is it possible to debug xsjs with a non-browser consumer that doesn’t understand cookies out of the box?
Any help is much appreciated. Thanks in advance!