Debug production errors using Sentry error tracking and analysis
Investigates production errors using Sentry's error tracking, stack traces, and AI-powered root cause analysis.
/plugin marketplace add coalesce-labs/catalyst/plugin install catalyst-debugging@catalystinheritInvestigate production errors using Sentry's error tracking, stack traces, and context.
SENTRY_AUTH_TOKENSENTRY_ORGSENTRY_PROJECT/catalyst-dev:debug-production-error <error-description-or-id>
Examples:
/catalyst-dev:debug-production-error "TypeError in checkout flow"
/catalyst-dev:debug-production-error "ISSUE-123"
/catalyst-dev:debug-production-error "errors from last deployment"
/catalyst-dev:debug-production-error "unhandled exceptions this week"
Uses Sentry MCP tools to:
When this plugin is enabled, you have access to ~19 Sentry tools:
Error Search & Analysis:
Stack Trace Analysis:
Context & Metadata:
Issue Management:
Root Cause Analysis (Seer AI):
/catalyst-dev:debug-production-error "Show me details for MYAPP-456 including stack trace and user context"
/catalyst-dev:debug-production-error "Find all TypeError exceptions in the last 24 hours"
/catalyst-dev:debug-production-error "What new errors appeared after release v2.3.0?"
/catalyst-dev:debug-production-error "Show unresolved errors affecting more than 100 users"
Analysis typically includes:
Error Overview:
Stack Trace:
User Context:
Root Cause (when Seer analysis available):
/catalyst-dev:debug-production-error "production errors in payment service"
/catalyst-dev:debug-production-error "spike in errors between 2pm-3pm today"
/catalyst-dev:debug-production-error "errors for user@example.com"
If you have both plugins enabled:
# Enable both
/plugin enable catalyst-debugging
/plugin enable catalyst-analytics
# Combined analysis
> "Show me errors in checkout AND how many users abandoned checkout today"
After identifying root cause:
> "Create a GitHub issue for this error with the stack trace and fix recommendations"
After finding the bug:
/create-plan "Fix the TypeError in checkout.ts based on Sentry analysis"
This plugin adds ~20,670 tokens to your context window. Disable when debugging is complete:
/plugin disable catalyst-debugging
See also: /error-impact-analysis, /trace-analysis