Anki Forums

Dump Protocol Buffer RPC messages

Communications between Python/Rust are implemented by using Protocol Buffer (rslib/backend.proto). It seems design don’t follow gRPC protocol, so we can’t capture messages by intercept packages?



If your goal is to trace the flow of information, you can add some print statements to the code.