Add debugging docs to README (thrift-tools) (#437)

Closes #435
This commit is contained in:
Daniel Serrano 2018-10-30 14:18:08 +00:00 committed by Jon Parise
parent 85a7caa88c
commit dfbc5d7304

View File

@ -177,6 +177,17 @@ Thrift.Parser.parse("enum Colors { RED, GREEN, BLUE }")
[idl]: https://thrift.apache.org/docs/idl
## Debugging
In order to debug your Thrift RPC calls, we recommend you use [`thrift-tools`](https://github.com/pinterest/thrift-tools). It is a set of tools to introspect Apache Thrift traffic.
Try something like:
```
$ pip install thrift-tools
$ sudo thrift-tool --iface eth0 --port 9090 dump --show-all --pretty
```
## FAQ
### Why is it faster than the Apache implementation?