--- url: "https://grpc.io/docs/guides/debugging/" titulek: "Debugging | gRPC" h1: "Debugging" popis: "Explains the debugging process of gRPC applications using grpcdebug" jazyk: "en" kanonicka: "https://grpc.io/docs/guides/debugging/" drobecky: ["Docs", "Guides", "Debugging"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 21:00:49" znaku: 3108 slov: 203 kodovani: "utf-8" sha256: "6be6f9c90d58379961dd93b36f0d58d9ff47b33a5579a6edfa9acbe49957b036" --- # Debugging Explains the debugging process of gRPC applications using grpcdebug Contents # Debugging Explains the debugging process of gRPC applications using grpcdebug ### Overview [grpcdebug](https://github.com/grpc-ecosystem/grpcdebug) is a command line tool within the gRPC ecosystem designed to assist developers in debugging and troubleshooting gRPC services. grpcdebug fetches the internal states of the gRPC library from the application via gRPC protocol and provides a human-friendly UX to browse them. Currently, it supports [Channelz](https://github.com/grpc/proposal/blob/master/A14-channelz.md)/[Health](https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto) Checking/CSDS (aka. [admin services](https://github.com/grpc/proposal/blob/master/A38-admin-interface-api.md)). In other words, it can fetch statistics about how many RPCs have being sent or failed on a given gRPC channel, it can inspect address resolution results, it can dump the active xDS configuration that directs the routing of RPCs. ### Language examples | Language | Example | Notes | | --- | --- | --- | | C++ | [C++ Example](https://github.com/grpc/grpc/tree/master/examples/cpp/debugging#using-grpcdebug) | | | Go | [Go Example](https://github.com/grpc-ecosystem/grpcdebug?tab=readme-ov-file#quick-start) | [Go test server implementing admin services from grpcdebug docs](https://github.com/grpc-ecosystem/grpcdebug/tree/main/internal/testing/testserver) | | Java | [Java Example](https://github.com/grpc/grpc-java/tree/master/examples/example-debug#using-grpcdebug) | | ### References - [grpcdebug installation](https://github.com/grpc-ecosystem/grpcdebug?tab=readme-ov-file#installation) - [grpcdebug quick start](https://github.com/grpc-ecosystem/grpcdebug?tab=readme-ov-file#quick-start) Last modified July 4, 2024: [Add debugging section with grpcdebug (#1314) (2387f6a)](https://github.com/grpc/grpc.io/commit/2387f6a2ebe6aa175c156b551b1fb3636c3c36bb) [View page source](https://github.com/grpc/grpc.io/tree/main/content/en/docs/guides/debugging.md) [Edit this page](https://github.com/grpc/grpc.io/edit/main/content/en/docs/guides/debugging.md) [Create child page](https://github.com/grpc/grpc.io/new/main/content/en/docs/guides/debugging.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+the+page+%28weight+controls+how+its+ordered+amongst+other+pages+in+the+same+directory%3B+lowest+number+first%29.%0A%2A+Add+a+good+commit+message+at+the+bottom+of+the+page+%28%3C80+characters%3B+use+the+extended+description+field+for+more+detail%29.%0A%2A+Create+a+new+branch+so+you+can+preview+your+new+file+and+request+a+review+via+Pull+Request.%0A) [Create documentation issue](https://github.com/grpc/grpc.io/issues/new?title=Debugging) [Create project issue](https://github.com/grpc/grpc.io/issues/new)