debugging-techniques

Diagnose bugs across Python, Go, Rust, Node.js, containers, and production environments.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill debugging-techniques-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: debugging-techniques
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/debugging-techniques
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill debugging-techniques-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Debugging across multiple languages and environments requires knowing different debuggers, container tooling, and production-safe techniques, and choosing the wrong approach wastes time or risks production stability. ## Core Features & Use Cases - Multi-Language Debugger Workflows: Step-by-step guidance for pdb/ipdb/debugpy (Python), Delve (Go), LLDB/GDB (Rust), and node --inspect (Node.js), including breakpoints, goroutine inspection, and test debugging. - Container & Kubernetes Debugging: kubectl debug with ephemeral containers, distroless image inspection, process namespace sharing, and network debugging with netshoot. - Production-Safe Debugging: Structured logging, correlation IDs, OpenTelemetry distributed tracing, and error tracking workflows that avoid blocking execution or exposing secrets. - Use Case: A pod running a distroless image is crashing in Kubernetes. Use this Skill to attach an ephemeral netshoot container, inspect processes via shared namespaces, and trace the failing request with correlation IDs in your log aggregator. ## Quick Start Ask the agent to help debug a failing Go test using Delve, or to set up an ephemeral debug container for a crashed Kubernetes pod.

Frequently Asked Questions about debugging-techniques

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a Kubernetes pod with a distroless image?▼

Use kubectl debug to add an ephemeral container with debugging tools, since distroless images have no shell. Run kubectl debug -it <pod> --image=busybox --target=app --share-processes to inspect the app's processes, network, and files.

What debugger should I use for Go goroutine issues?▼

Delve is the official Go debugger with first-class goroutine support. Use dlv debug to start a session, then goroutines -t to view all goroutine stack traces and identify deadlocks or blocked channel operations.

How do I debug Python code running in VS Code?▼

Use debugpy, which is included in the VS Code Python extension. Configure a launch.json entry with type python and request launch, or use debugpy.listen() with remote attach for code running on servers or in Docker containers.

Can I use breakpoints in production environments?▼

No, interactive breakpoints block execution and impact all users. Instead use structured logging with correlation IDs, distributed tracing via OpenTelemetry, and error tracking platforms like Sentry to investigate production issues safely.

Why can't I inspect a variable while debugging Rust?▼

The variable may have been moved due to ownership rules, or optimized out in release builds. Always debug with cargo build (debug profile) and temporarily use clone() if you need to inspect a moved value.

How do I trace a request across multiple microservices?▼

Propagate a correlation ID through X-Correlation-ID headers and include it in every structured log entry. Combine this with OpenTelemetry distributed tracing to view the full request timeline in tools like Jaeger.