fullstorydev / grpcurl

Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers
MIT License
10.35k stars 497 forks source link

Include more output while connecting and reflecting with verbose mode #467

Open dimo414 opened 3 weeks ago

dimo414 commented 3 weeks ago

Trying to use grpcurl against a proxy server (therefore hitting all sorts of unusual edge cases) has been a bit of a pain for debugging because it doesn't generally provide any diagnostics, even with -v/-vv. I would have expected one or the other to include details about the connection state and reflection queries, but instead the output is generally minimal / confusing. Some examples:

Obviously these are all cases were I would expect grpcurl to fail, but the output, especially with -vv, is IMO lacking. It would be great if more information could be surfaced in -v or -vv mode about the connection status and what data is being requested for reflection.