# Debug running Kubernetes pods with kubectl debug

Canonical source : [Debug running Kubernetes pods with kubectl debug](<https://sebastien.rigaux.be/en/tech-watch/links/debug-running-kubernetes-pods-with-kubectl-debug>)

The guide compares the limitations of kubectl exec with kubectl debug. It also introduces superdebug for diagnostic sessions that require volume mounts.

- Selected on : 2024-02-04

- Resource publication : 2025-03-07

- Entry updated : 2026-10-14T07:00:28+0000

- Format : Article

- Source language : EN

- Credit : Jonathan Merlevede

Original resource : [Debug running Kubernetes pods with kubectl debug](<https://medium.com/datamindedbe/debugging-running-pods-on-kubernetes-2ba160c47ef5>)

Tags : [Kubernetes](<https://sebastien.rigaux.be/en/tech-watch/tags/kubernetes>) · [Developer Experience](<https://sebastien.rigaux.be/en/tech-watch/tags/developer-experience>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/deboguer-un-pod-kubernetes-avec-kubectl-debug>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/debug-running-kubernetes-pods-with-kubectl-debug>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
