You need to write in on your Subscription code itself, just logging messages you decide, you can't plug to the subscription execution to debug it live.
What you can do it's something like:
logger.info("A message to the logger");
... your code...
logger.info("Another message to the logger");
... more code...