// Advanced debugging with stack trace analysis, error pattern detection, and fix suggestions. Use when delivering quick diagnostic support for everyday issues.
| name | moai-essentials-debug |
| description | Advanced debugging with stack trace analysis, error pattern detection, and fix suggestions. Use when delivering quick diagnostic support for everyday issues. |
| allowed-tools | ["Read","Bash","Write","Edit","TodoWrite"] |
| Field | Value |
|---|---|
| Version | 2.1.0 |
| Created | 2025-10-22 |
| Last Updated | 2025-10-27 |
| Language Coverage | 23 languages + containers + distributed systems |
| Allowed tools | Read, Write, Edit, Bash, TodoWrite |
| Auto-load | On demand during Run stage (debug-helper) |
| Trigger cues | Runtime error triage, stack trace analysis, root cause investigation requests |
Comprehensive debugging support across all 23 MoAI-ADK languages with:
Complete debugger matrix with CLI commands: See reference.md
-fsanitize=address)go build -race, proper channel usageRuntimeError: Event loop is closed → Proper asyncio usageDetailed error pattern analysis: See examples.md
# Attach to running container
docker exec -it <container> /bin/sh
# Debug with debugger ports exposed
docker run -p 5005:5005 -e JAVA_TOOL_OPTIONS='-agentlib:jdwp=...' myapp
# Python remote debugging
docker run -p 5678:5678 -e DEBUGPY_ENABLE=true myapp
# Port-forward debugger port
kubectl port-forward pod/myapp-pod 5005:5005
# Exec into pod
kubectl exec -it myapp-pod -- /bin/bash
# Debug with ephemeral container (K8s 1.23+)
kubectl debug -it myapp-pod --image=busybox --target=myapp
Complete container debugging guide: See reference.md
Complete distributed tracing setup: See reference.md
Direction: Bottom (entry point) → Top (error site)
Key information:
Language-specific stack trace examples: See examples.md
Complete profiling guide: See reference.md
For complete 23-language debugger matrix: reference.md
For language-specific debugging examples: examples.md
End of Skill | Refactored 2025-10-27