debugging

Debug Python, JavaScript, and distributed systems with breakpoints and log analysis.

1|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/markus41/lobbi-design-system --skill debugging-markus41
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging
Source: https://github.com/markus41/lobbi-design-system/tree/main/.claude/skills/debugging
Command: npx skills add https://github.com/markus41/lobbi-design-system --skill debugging-markus41

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdb, logging, cProfile, memory-profiler, jq, docker, kubectl.

What problem does it solve?

This Skill provides comprehensive techniques for identifying and resolving issues in Python, JavaScript, and distributed systems, helping you quickly find root causes and fix bugs.

Core Features & Use Cases

  • Language-Specific Debugging: Use pdb for Python, console methods and Node.js inspector for JavaScript.
  • Container Debugging: Troubleshoot issues in Docker containers and Kubernetes pods using CLI tools.
  • Log Analysis: Efficiently search, filter, and parse logs using grep and jq for faster error identification.
  • Use Case: Debug a Python script by setting a breakpoint, stepping through code, and inspecting variables to pinpoint the exact line causing an error.

Quick Start

Insert a breakpoint in the Python script 'my_app.py' at line 25 and start the debugger.

Frequently Asked Questions about debugging

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

FAQPage Schema
How do I debug a Python script using breakpoints and step through code?

Use pdb, Python's built-in debugger, to insert breakpoints in your script and step through execution line by line. Set a breakpoint with `breakpoint()` or `import pdb; pdb.set_trace()`, then use commands like `n` (next), `s` (step), and `p` (print) to inspect variables and pinpoint errors.

How can I debug JavaScript code and Node.js applications?

Debug JavaScript using console methods for logging and the Node.js inspector for interactive debugging. Launch Node with the `--inspect` flag to connect a debugger, set breakpoints, and step through code to identify issues in your application.

What's the best way to troubleshoot issues in Docker containers and Kubernetes pods?

Use Docker CLI commands to access container logs and execute commands inside running containers. For Kubernetes, use kubectl to inspect pod logs, describe pod status, and access pod shells to diagnose distributed system issues across your cluster.

How do I analyze logs efficiently to find errors and root causes?

Use grep to search and filter logs by keywords and patterns, and jq to parse and extract structured data from JSON logs. Combine these tools to rapidly isolate error messages, trace request flows, and identify when issues occur in your system.

How can I identify performance bottlenecks and memory issues in Python?

Use cProfile to profile CPU usage and identify slow functions, and memory-profiler to track memory consumption line by line. These tools reveal which parts of your code consume the most resources, enabling targeted optimization.

Can I debug applications across local, containerized, and cloud environments?

Yes. This Skill supports debugging workflows for local Python and JavaScript code, containerized applications using Docker, and distributed systems in Kubernetes. Apply consistent debugging techniques across environments, from development to production clusters.