I published a new community node.
This time a logger which allows you to easily start a logger workflow that you can use to log some data in whatever way you want.
After this node it will continue the flow with the original data coming into the node. (it disregards the output of the subworkflow)
subworkflow input with first Item selected in the options of the node: