The Debug impl needs to take a read lock to access the inner data. But tokio's RwLock returns a Future, so it would have to be polled in a synchronous function.
It can be done, but all kinds of bad things could happen if you tried.
Instead, I would make sure the inner data implements Debug (in this case it does) and then print its contents wherever you have already acquired a lock.
You can call RwLock::try_read to take a read lock if its currently free. If that fails, just print <locked>. This is similar to what the standard library does for mutex. (src)
Don't try to block on taking the lock. You don't want println statements to deadlock your code. (That's what would happen in your snippet because you're still holding data when you print.)