If you want to debug the backend then put and external breakpoint in the abap code.
make your jco connect to a single instance
login using the user which is configured for jco.
For the front end
put a break point in your code before you call the execute method on the RFC and after it and use the debug perspective to evaluate the values.