How to enable logging of gRPC messages between NS and AS

How do I enable logging (or debugging) of gRPC messages between the NS and AS?

Currently only the gRPC service + methods are being logged. Logging the full messages should be possible, but would require some changes to the source. I haven’t looked into this (yet).