If debug logging is enabled, log the `msgid`s of any to-device messages that are returned over `/sync`.