debugging-techniques

Debug Python, Go, Rust, and Node.js across local, container, and production environments.

503|73|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/ancoleman/ai-design-components --skill debugging-techniques
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-techniques
Source: https://github.com/ancoleman/ai-design-components/tree/main/skills/debugging-techniques
Command: npx skills add https://github.com/ancoleman/ai-design-components --skill debugging-techniques

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for debugging code effectively across various programming languages (Python, Go, Rust, Node.js) and environments (local, container, Kubernetes, production).

Core Features & Use Cases

  • Language-Specific Debugging: Detailed instructions for pdb, debugpy, delve, lldb, and node --inspect.
  • Container & Kubernetes Debugging: Techniques using kubectl debug and ephemeral containers.
  • Production Debugging: Strategies for safe, non-blocking debugging using structured logging, correlation IDs, and distributed tracing.
  • Use Case: You encounter a bug in a Go microservice running in a Kubernetes pod. This Skill guides you through attaching delve using an ephemeral container and inspecting goroutines to find the root cause.

Quick Start

Use the debugging-techniques skill to set up a breakpoint in your Python script.

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 Go microservice running in a Kubernetes pod?

To debug a Go microservice in a Kubernetes pod, use ephemeral containers to attach the delve debugger and inspect goroutines to find the root cause. This Skill provides systematic workflows for setting up container debugging without restarting the pod.

What is the best way to debug Python code remotely?

The best way to debug Python code remotely is using interactive debuggers like pdb and debugpy. This Skill provides detailed instructions for setting breakpoints and connecting to remote Python environments to inspect execution state.

Can I use ephemeral containers for Node.js debugging in production?

Yes, you can use ephemeral containers for Node.js debugging in production by leveraging node --inspect. This Skill covers production-safe techniques using structured logging and correlation IDs to debug without blocking application traffic.

How do I set up distributed tracing for production debugging?

To set up distributed tracing for production debugging, implement structured logging with correlation IDs across your microservices. This Skill outlines strategies for non-blocking production debugging to trace requests through distributed systems.

Does this debugging guide support Rust and Node.js environments?

Yes, this debugging guide supports Rust and Node.js environments by providing language-specific instructions for lldb and node --inspect. It covers systematic debugging workflows across local, remote, container, and production environments.