[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M795N2D6364KXSKKDC0TXC7R":3,"skill-same:01M795N2D6364KXSKKDC0TXC7R":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M795N2D6364KXSKKDC0TXC7R","sentry-debug-bundle",null,"Collect diagnostic information for Sentry troubleshooting and support tickets.\nUse when events are not appearing in Sentry, SDK initialization seems broken,\nDSN connectivity fails, source maps are not resolving, or preparing a support request.\nTrigger with \"sentry debug info\", \"sentry diagnostics\", \"debug bundle\", \"sentry support ticket\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--sentry-pack--sentry-debug-bundle\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sentry-debug-bundle\ndescription: |\n  Collect diagnostic information for Sentry troubleshooting and support tickets.\n  Use when events are not appearing in Sentry, SDK initialization seems broken,\n  DSN connectivity fails, source maps are not resolving, or preparing a support request.\n  Trigger with \"sentry debug info\", \"sentry diagnostics\", \"debug bundle\", \"sentry support ticket\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(npx:*), Bash(pip:*), Bash(python:*), Bash(curl:*), Bash(dig:*), Bash(sentry-cli:*), Grep, Glob\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, sentry, debugging, support, diagnostics]\n---\n\n# Sentry Debug Bundle\n\n## Overview\n\nCollect SDK versions, configuration state, network connectivity, and event delivery status into a single diagnostic report. Attach the output to Sentry support tickets or use it to systematically isolate why events are not reaching the dashboard.\n\n## Current State\n\n!`node --version 2>\u002Fdev\u002Fnull || echo 'Node.js not found'`\n!`python3 --version 2>\u002Fdev\u002Fnull || echo 'Python3 not found'`\n!`npm list @sentry\u002Fnode @sentry\u002Fbrowser @sentry\u002Freact @sentry\u002Fcli 2>\u002Fdev\u002Fnull | grep sentry || pip show sentry-sdk 2>\u002Fdev\u002Fnull | grep -E '^(Name|Version)' || echo 'No Sentry SDK found'`\n!`sentry-cli --version 2>\u002Fdev\u002Fnull || echo 'sentry-cli not installed'`\n!`sentry-cli info 2>\u002Fdev\u002Fnull || echo 'sentry-cli not authenticated'`\n\n## Prerequisites\n\n- At least one Sentry SDK installed (`@sentry\u002Fnode`, `@sentry\u002Fbrowser`, `@sentry\u002Freact`, or `sentry-sdk` for Python)\n- `SENTRY_DSN` environment variable set (or DSN configured in application code)\n- For API checks: `SENTRY_AUTH_TOKEN` with `project:read` scope ([generate token](https:\u002F\u002Fsentry.io\u002Fsettings\u002Fauth-tokens\u002F))\n- Optional: `sentry-cli` installed for source map diagnostics and `send-event` tests\n\n## Instructions\n\n### Step 1 — Gather SDK Version, Configuration, and Init Hooks\n\nIdentify the installed SDK, verify all `@sentry\u002F*` packages share the same version (mismatches cause silent failures), and extract the runtime configuration.\n\n**Check installed packages:**\n\n```bash\n# Node.js — list all Sentry packages and flag version mismatches\nnpm ls @sentry\u002Fnode @sentry\u002Fbrowser @sentry\u002Freact @sentry\u002Fnextjs @sentry\u002Fcli 2>\u002Fdev\u002Fnull | grep sentry\n\n# Python — show sentry-sdk version and installed extras\npip show sentry-sdk 2>\u002Fdev\u002Fnull\n```\n\n**Extract runtime configuration (Node.js):**\n\n```typescript\nimport * as Sentry from '@sentry\u002Fnode';\n\nconst client = Sentry.getClient();\nif (!client) {\n  console.error('ERROR: Sentry client not initialized — Sentry.init() may not have been called');\n  process.exit(1);\n}\n\nconst opts = client.getOptions();\nconst diagnostics = {\n  sdk_version: Sentry.SDK_VERSION,\n  dsn_configured: !!opts.dsn,\n  dsn_host: opts.dsn ? new URL(opts.dsn).hostname : 'N\u002FA',\n  dsn_project_id: opts.dsn ? new URL(opts.dsn).pathname.replace('\u002F', '') : 'N\u002FA',\n  environment: opts.environment ?? '(default)',\n  release: opts.release ?? '(auto-detect)',\n  debug: opts.debug ?? false,\n  sample_rate: opts.sampleRate ?? 1.0,\n  traces_sample_rate: opts.tracesSampleRate ?? '(not set)',\n  profiles_sample_rate: opts.profilesSampleRate ?? '(not set)',\n  send_default_pii: opts.sendDefaultPii ?? false,\n  max_breadcrumbs: opts.maxBreadcrumbs ?? 100,\n  before_send: typeof opts.beforeSend === 'function' ? 'CONFIGURED' : 'none',\n  before_send_transaction: typeof opts.beforeSendTransaction === 'function' ? 'CONFIGURED' : 'none',\n  before_breadcrumb: typeof opts.beforeBreadcrumb === 'function' ? 'CONFIGURED' : 'none',\n  integrations: client.getOptions().integrations?.map(i => i.name) ?? [],\n  transport: opts.transport ? 'custom' : 'default',\n};\n\nconsole.log(JSON.stringify(diagnostics, null, 2));\n```\n\n**Extract runtime configuration (Python):**\n\n```python\nimport sentry_sdk\nfrom sentry_sdk import Hub\n\nclient = Hub.current.client\nif not client:\n    print(\"ERROR: Sentry client not initialized\")\n    exit(1)\n\nopts = client.options\nprint(f\"SDK version:       {sentry_sdk.VERSION}\")\nprint(f\"DSN configured:    {bool(opts.get('dsn'))}\")\nprint(f\"Environment:       {opts.get('environment', '(default)')}\")\nprint(f\"Release:           {opts.get('release', '(auto-detect)')}\")\nprint(f\"Debug:             {opts.get('debug', False)}\")\nprint(f\"Sample rate:       {opts.get('sample_rate', 1.0)}\")\nprint(f\"Traces sample rate:{opts.get('traces_sample_rate', '(not set)')}\")\nprint(f\"Send default PII:  {opts.get('send_default_pii', False)}\")\nprint(f\"before_send:       {'CONFIGURED' if opts.get('before_send') else 'none'}\")\nprint(f\"before_breadcrumb: {'CONFIGURED' if opts.get('before_breadcrumb') else 'none'}\")\nprint(f\"Integrations:      {[i.identifier for i in client.integrations.values()]}\")\n```\n\n> **Key check:** If `beforeSend` is CONFIGURED, inspect the function — a `beforeSend` that returns `null` will silently drop every event.\n\n### Step 2 — Verify DSN Connectivity and Sentry Service Status\n\nConfirm the application can reach Sentry's ingest endpoint and that Sentry itself is operational.\n\n**Test DSN reachability:**\n\n```bash\n# Test the Sentry API root (should return HTTP 200)\ncurl -s -o \u002Fdev\u002Fnull -w \"sentry.io API: HTTP %{http_code} (%{time_total}s)\\n\" \\\n  https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F\n\n# Test the ingest endpoint derived from your DSN\n# DSN format: https:\u002F\u002F\u003CPUBLIC_KEY>@o\u003CORG_ID>.ingest.sentry.io\u002F\u003CPROJECT_ID>\n# Extract host from DSN and test the envelope endpoint\ncurl -s -o \u002Fdev\u002Fnull -w \"Ingest endpoint: HTTP %{http_code} (%{time_total}s)\\n\" \\\n  \"https:\u002F\u002Fo0.ingest.sentry.io\u002Fapi\u002F0\u002Fenvelope\u002F\"\n\n# DNS resolution check\ndig +short o0.ingest.sentry.io 2>\u002Fdev\u002Fnull || nslookup o0.ingest.sentry.io\n\n# Check for proxy\u002Ffirewall interference\ncurl -v https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F 2>&1 | grep -iE 'proxy|blocked|forbidden|connect'\n```\n\n**Check Sentry service status:**\n\nVisit [https:\u002F\u002Fstatus.sentry.io](https:\u002F\u002Fstatus.sentry.io) or:\n\n```bash\n# Programmatic status check\ncurl -s https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json | python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nprint(f\\\"Sentry Status: {d['status']['description']}\\\")\nprint(f\\\"Updated:       {d['page']['updated_at']}\\\")\n\"\n```\n\n**Verify auth token and project access (requires `SENTRY_AUTH_TOKEN`):**\n\n```bash\n# Check token validity and list accessible projects\ncurl -s -H \"Authorization: Bearer $SENTRY_AUTH_TOKEN\" \\\n  https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002Fprojects\u002F | python3 -c \"\nimport sys, json\nprojects = json.load(sys.stdin)\nif isinstance(projects, dict) and 'detail' in projects:\n    print(f'Auth error: {projects[\\\"detail\\\"]}')\nelse:\n    for p in projects[:10]:\n        print(f\\\"  {p['organization']['slug']}\u002F{p['slug']} (platform: {p.get('platform', 'N\u002FA')})\\\")\"\n\n# sentry-cli auth check\nsentry-cli info 2>\u002Fdev\u002Fnull || echo \"sentry-cli not authenticated — run: sentry-cli login\"\n```\n\n### Step 3 — Test Event Capture, Verify Delivery, and Generate Report\n\nSend a diagnostic test event, confirm it arrives in Sentry, and produce the final debug bundle report.\n\n**Send test event via sentry-cli:**\n\n```bash\n# Quick test — sends a test message event\nsentry-cli send-event -m \"diagnostic test from debug-bundle $(date -u +%Y-%m-%dT%H:%M:%SZ)\"\n```\n\n**Send test event programmatically (Node.js):**\n\n```typescript\nimport * as Sentry from '@sentry\u002Fnode';\n\nSentry.init({\n  dsn: process.env.SENTRY_DSN,\n  debug: true, \u002F\u002F Enables console logging of SDK internals\n});\n\nconst eventId = Sentry.captureMessage('sentry-debug-bundle diagnostic test', 'info');\nconsole.log(`Test event ID: ${eventId}`);\nconsole.log(`View at: https:\u002F\u002Fsentry.io\u002Forganizations\u002FYOUR_ORG\u002Fissues\u002F?query=${eventId}`);\n\n\u002F\u002F CRITICAL: Node.js will exit before async transport completes without flush\nconst flushed = await Sentry.flush(10000);\nconsole.log(`Flush: ${flushed ? 'SUCCESS — event delivered' : 'TIMEOUT — event may not have been sent'}`);\n\nif (!flushed) {\n  console.error('Flush timeout. Possible causes:');\n  console.error('  - Network blocking outbound HTTPS to sentry.io');\n  console.error('  - DSN is invalid or project has been deleted');\n  console.error('  - Rate limit exceeded (HTTP 429)');\n}\n```\n\n**Send test event programmatically (Python):**\n\n```python\nimport sentry_sdk\nimport time\n\nsentry_sdk.init(dsn=\"YOUR_DSN\", debug=True)\n\nevent_id = sentry_sdk.capture_message(\"sentry-debug-bundle diagnostic test\", level=\"info\")\nprint(f\"Test event ID: {event_id}\")\n\n# Python SDK flushes automatically on exit, but explicit flush is safer\nsentry_sdk.flush(timeout=10)\nprint(\"Flush complete — check Sentry dashboard for event\")\n```\n\n**Generate the debug bundle report:**\n\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\n\nREPORT=\"sentry-debug-$(date +%Y%m%d-%H%M%S).md\"\n\ncat > \"$REPORT\" \u003C\u003C 'HEADER'\n# Sentry Debug Bundle\nHEADER\n\ncat >> \"$REPORT\" \u003C\u003C EOF\n**Generated:** $(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n**Node.js:** $(node --version 2>\u002Fdev\u002Fnull || echo N\u002FA)\n**Python:** $(python3 --version 2>\u002Fdev\u002Fnull || echo N\u002FA)\n**OS:** $(uname -srm)\n**sentry-cli:** $(sentry-cli --version 2>\u002Fdev\u002Fnull || echo 'not installed')\n\n## SDK Packages\n\\`\\`\\`\n$(npm list 2>\u002Fdev\u002Fnull | grep -i sentry || echo \"No npm Sentry packages\")\n$(pip show sentry-sdk 2>\u002Fdev\u002Fnull | grep -E '^(Name|Version|Location)' || echo \"No pip sentry-sdk\")\n\\`\\`\\`\n\n## Environment Variables (sanitized)\n| Variable | Status |\n|----------|--------|\n| SENTRY_DSN | $([ -n \"${SENTRY_DSN:-}\" ] && echo \"SET (\\`$(echo \"$SENTRY_DSN\" | sed 's|\u002F\u002F[^@]*@|\u002F\u002F***@|')\\`)\" || echo \"NOT SET\") |\n| SENTRY_ORG | ${SENTRY_ORG:-NOT SET} |\n| SENTRY_PROJECT | ${SENTRY_PROJECT:-NOT SET} |\n| SENTRY_AUTH_TOKEN | $([ -n \"${SENTRY_AUTH_TOKEN:-}\" ] && echo \"SET (${#SENTRY_AUTH_TOKEN} chars)\" || echo \"NOT SET\") |\n| SENTRY_RELEASE | ${SENTRY_RELEASE:-NOT SET} |\n| SENTRY_ENVIRONMENT | ${SENTRY_ENVIRONMENT:-NOT SET} |\n| NODE_ENV | ${NODE_ENV:-NOT SET} |\n\n## Network Connectivity\n$(curl -s -o \u002Fdev\u002Fnull -w \"- sentry.io API: HTTP %{http_code} (%{time_total}s)\" https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F 2>\u002Fdev\u002Fnull || echo \"- sentry.io: UNREACHABLE\")\n$(curl -s -o \u002Fdev\u002Fnull -w \"\\n- Ingest endpoint: HTTP %{http_code} (%{time_total}s)\" https:\u002F\u002Fo0.ingest.sentry.io\u002Fapi\u002F0\u002Fenvelope\u002F 2>\u002Fdev\u002Fnull || echo \"- Ingest: UNREACHABLE\")\n\n## Sentry Status\n$(curl -s https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json 2>\u002Fdev\u002Fnull | python3 -c \"import sys,json; d=json.load(sys.stdin); print(f\\\"- Status: {d['status']['description']}\\\")\" 2>\u002Fdev\u002Fnull || echo \"- Status: Could not fetch\")\n\n## CLI Authentication Status\n\\`\\`\\`\n$(sentry-cli info 2>\u002Fdev\u002Fnull || echo \"sentry-cli not authenticated — run: sentry-cli login\")\n\\`\\`\\`\n\n## Source Map Artifacts\n\\`\\`\\`\n$(sentry-cli releases files \"${SENTRY_RELEASE:-unknown}\" list 2>\u002Fdev\u002Fnull || echo \"No release artifacts found (set SENTRY_RELEASE)\")\n\\`\\`\\`\nEOF\n\necho \"Debug bundle saved to: $REPORT\"\necho \"Attach this file to your Sentry support ticket at https:\u002F\u002Fsentry.io\u002Fsupport\u002F\"\n```\n\n## Output\n\nThe debug bundle produces:\n\n- **SDK inventory** — all `@sentry\u002F*` or `sentry-sdk` versions with mismatch detection\n- **Configuration snapshot** — DSN (redacted), environment, release, sample rates, hooks status\n- **Connectivity report** — HTTP status and latency to `sentry.io` API and ingest endpoints\n- **Service status** — current Sentry platform health from status.sentry.io\n- **Test event confirmation** — event ID with flush result (SUCCESS or TIMEOUT)\n- **Markdown report file** — `sentry-debug-YYYYMMDD-HHMMSS.md` ready to attach to support tickets\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Sentry client not initialized` | `Sentry.init()` not called or called after diagnostic code | Ensure `Sentry.init()` runs at application entry point before any capture calls |\n| `Flush: TIMEOUT` | Network blocking outbound HTTPS to `*.ingest.sentry.io` | Check firewall rules, corporate proxy, VPN — allow outbound 443 to `*.ingest.sentry.io` |\n| `sentry-cli info` reports no auth | Token not set or expired | Run `sentry-cli login` or set `SENTRY_AUTH_TOKEN` ([generate](https:\u002F\u002Fsentry.io\u002Fsettings\u002Fauth-tokens\u002F)) |\n| Package version mismatch (`@sentry\u002F*` at different versions) | Partial upgrade or transitive dependency conflict | Align all `@sentry\u002F*` packages to the same version: `npm i @sentry\u002Fnode@latest @sentry\u002Fbrowser@latest` and run `npm dedupe` |\n| `sourcemaps explain` shows no match | `--url-prefix` does not match the stack trace URLs | Compare the `abs_path` in your error event's stack frame with the `--url-prefix` used during upload |\n| Events dropped by `beforeSend` | Hook returns `null` for matching events | Log inside `beforeSend` to verify: `console.log('beforeSend:', event.exception?.values?.[0]?.type)` |\n| DSN returns HTTP 401 \u002F 403 | Project deleted, DSN revoked, or wrong organization | Verify DSN at Settings > Projects > Client Keys in the Sentry dashboard |\n| `429 Too Many Requests` | Organization or project rate limit exceeded | Check quotas at Settings > Subscription, reduce `sampleRate`\u002F`tracesSampleRate`, or use `beforeSend` to filter noise |\n| Process exits before events sent (Node.js) | No `await Sentry.flush()` before `process.exit()` | Always call `await Sentry.flush(timeout)` before exiting; in serverless, use the platform's `Sentry.wrapHandler()` |\n\n## Examples\n\n### TypeScript — Full Diagnostic Script\n\n```typescript\n\u002F\u002F scripts\u002Fsentry-diagnostics.ts\nimport * as Sentry from '@sentry\u002Fnode';\n\nasync function runDiagnostics() {\n  \u002F\u002F 1. Check SDK is initialized\n  const client = Sentry.getClient();\n  if (!client) {\n    console.error('[FAIL] Sentry client not initialized');\n    console.error('       Ensure Sentry.init({ dsn: \"...\" }) is called before this script');\n    return;\n  }\n  console.log(`[OK]   SDK version: ${Sentry.SDK_VERSION}`);\n\n  \u002F\u002F 2. Check configuration\n  const opts = client.getOptions();\n  console.log(`[OK]   DSN configured: ${!!opts.dsn}`);\n  console.log(`[INFO] Environment: ${opts.environment ?? '(default)'}`);\n  console.log(`[INFO] Release: ${opts.release ?? '(auto-detect)'}`);\n  console.log(`[INFO] Debug mode: ${opts.debug ?? false}`);\n  console.log(`[INFO] Sample rate: ${opts.sampleRate ?? 1.0}`);\n  console.log(`[INFO] Traces sample rate: ${opts.tracesSampleRate ?? '(not set)'}`);\n  console.log(`[INFO] beforeSend: ${typeof opts.beforeSend === 'function' ? 'CONFIGURED' : 'none'}`);\n\n  \u002F\u002F 3. List active integrations\n  const integrations = opts.integrations?.map(i => i.name) ?? [];\n  console.log(`[INFO] Integrations (${integrations.length}): ${integrations.join(', ')}`);\n\n  \u002F\u002F 4. Send test event\n  const eventId = Sentry.captureMessage('sentry-diagnostics test event', 'info');\n  console.log(`[INFO] Test event ID: ${eventId}`);\n\n  \u002F\u002F 5. Flush and verify\n  const flushed = await Sentry.flush(10000);\n  if (flushed) {\n    console.log('[OK]   Flush succeeded — event delivered to Sentry');\n  } else {\n    console.error('[FAIL] Flush timed out — check network connectivity to Sentry');\n  }\n}\n\nrunDiagnostics().catch(err => console.error('[FAIL] Diagnostic error:', err));\n```\n\n### Python — Full Diagnostic Script\n\n```python\n# scripts\u002Fsentry_diagnostics.py\nimport sentry_sdk\nfrom sentry_sdk import Hub\nimport urllib.request\nimport json\nimport sys\n\ndef run_diagnostics():\n    print(\"=== Sentry Debug Bundle (Python) ===\\n\")\n\n    # 1. SDK version\n    print(f\"SDK version: {sentry_sdk.VERSION}\")\n\n    # 2. Client check\n    client = Hub.current.client\n    if not client:\n        print(\"[FAIL] Sentry client not initialized\")\n        print(\"       Call sentry_sdk.init(dsn='...') before running diagnostics\")\n        sys.exit(1)\n    print(\"[OK]   Client initialized\")\n\n    # 3. Configuration\n    opts = client.options\n    print(f\"[INFO] DSN configured: {bool(opts.get('dsn'))}\")\n    print(f\"[INFO] Environment: {opts.get('environment', '(default)')}\")\n    print(f\"[INFO] Release: {opts.get('release', '(auto-detect)')}\")\n    print(f\"[INFO] Debug: {opts.get('debug', False)}\")\n    print(f\"[INFO] Sample rate: {opts.get('sample_rate', 1.0)}\")\n    print(f\"[INFO] Traces sample rate: {opts.get('traces_sample_rate', '(not set)')}\")\n    print(f\"[INFO] before_send: {'CONFIGURED' if opts.get('before_send') else 'none'}\")\n    print(f\"[INFO] before_breadcrumb: {'CONFIGURED' if opts.get('before_breadcrumb') else 'none'}\")\n\n    # 4. Integrations\n    integrations = [i.identifier for i in client.integrations.values()]\n    print(f\"[INFO] Integrations ({len(integrations)}): {', '.join(integrations)}\")\n\n    # 5. Network connectivity\n    try:\n        req = urllib.request.urlopen(\"https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F\", timeout=5)\n        print(f\"[OK]   sentry.io reachable (HTTP {req.status})\")\n    except Exception as e:\n        print(f\"[FAIL] sentry.io unreachable: {e}\")\n\n    # 6. Service status\n    try:\n        req = urllib.request.urlopen(\"https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json\", timeout=5)\n        data = json.loads(req.read())\n        print(f\"[INFO] Sentry status: {data['status']['description']}\")\n    except Exception:\n        print(\"[WARN] Could not fetch Sentry status\")\n\n    # 7. Test event\n    event_id = sentry_sdk.capture_message(\"sentry-diagnostics test event\", level=\"info\")\n    print(f\"[INFO] Test event ID: {event_id}\")\n\n    # 8. Flush\n    sentry_sdk.flush(timeout=10)\n    print(\"[OK]   Flush complete\")\n\nif __name__ == \"__main__\":\n    run_diagnostics()\n```\n\n## Resources\n\n- [Sentry Troubleshooting Guide (JavaScript)](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Ftroubleshooting\u002F) — official SDK debugging steps\n- [Sentry Troubleshooting Guide (Python)](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fpython\u002Ftroubleshooting\u002F) — Python-specific diagnostics\n- [Source Maps Troubleshooting](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fsourcemaps\u002Ftroubleshooting_js\u002F) — `sourcemaps explain` and URL prefix debugging\n- [sentry-cli Reference](https:\u002F\u002Fdocs.sentry.io\u002Fcli\u002F) — CLI installation, auth, `send-event`, `sourcemaps` commands\n- [Sentry Status Page](https:\u002F\u002Fstatus.sentry.io) — real-time platform health\n- [Sentry Support](https:\u002F\u002Fsentry.io\u002Fsupport\u002F) — submit tickets with your debug bundle attached\n- [sentry-javascript GitHub Issues](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-javascript\u002Fissues) — known bugs and community reports\n\n## Next Steps\n\nAfter collecting the debug bundle:\n\n1. **Events missing?** Check `beforeSend` hook — add logging to confirm events are not being dropped\n2. **Source maps broken?** Run `sentry-cli sourcemaps explain --org ORG --project PROJ EVENT_ID` to diagnose URL prefix mismatches\n3. **Performance data missing?** Verify `tracesSampleRate` is non-zero and the instrumentation integration is active\n4. **Rate limited?** Review org quotas at Settings > Subscription and reduce sample rates\n5. **Need deeper tracing?** Enable `debug: true` in `Sentry.init()` to see full SDK lifecycle in console\n6. **Ready to file a ticket?** Attach the generated `sentry-debug-*.md` file to your request at [sentry.io\u002Fsupport](https:\u002F\u002Fsentry.io\u002Fsupport\u002F)\n","# Sentry Debug Bundle\n\n## Overview\n\nCollect SDK versions, configuration state, network connectivity, and event delivery status into a single diagnostic report. Attach the output to Sentry support tickets or use it to systematically isolate why events are not reaching the dashboard.\n\n## Current State\n\n!`node --version 2>\u002Fdev\u002Fnull || echo 'Node.js not found'`\n!`python3 --version 2>\u002Fdev\u002Fnull || echo 'Python3 not found'`\n!`npm list @sentry\u002Fnode @sentry\u002Fbrowser @sentry\u002Freact @sentry\u002Fcli 2>\u002Fdev\u002Fnull | grep sentry || pip show sentry-sdk 2>\u002Fdev\u002Fnull | grep -E '^(Name|Version)' || echo 'No Sentry SDK found'`\n!`sentry-cli --version 2>\u002Fdev\u002Fnull || echo 'sentry-cli not installed'`\n!`sentry-cli info 2>\u002Fdev\u002Fnull || echo 'sentry-cli not authenticated'`\n\n## Prerequisites\n\n- At least one Sentry SDK installed (`@sentry\u002Fnode`, `@sentry\u002Fbrowser`, `@sentry\u002Freact`, or `sentry-sdk` for Python)\n- `SENTRY_DSN` environment variable set (or DSN configured in application code)\n- For API checks: `SENTRY_AUTH_TOKEN` with `project:read` scope ([generate token](https:\u002F\u002Fsentry.io\u002Fsettings\u002Fauth-tokens\u002F))\n- Optional: `sentry-cli` installed for source map diagnostics and `send-event` tests\n\n## Instructions\n\n### Step 1 — Gather SDK Version, Configuration, and Init Hooks\n\nIdentify the installed SDK, verify all `@sentry\u002F*` packages share the same version (mismatches cause silent failures), and extract the runtime configuration.\n\n**Check installed packages:**\n\n```bash\n# Node.js — list all Sentry packages and flag version mismatches\nnpm ls @sentry\u002Fnode @sentry\u002Fbrowser @sentry\u002Freact @sentry\u002Fnextjs @sentry\u002Fcli 2>\u002Fdev\u002Fnull | grep sentry\n\n# Python — show sentry-sdk version and installed extras\npip show sentry-sdk 2>\u002Fdev\u002Fnull\n```\n\n**Extract runtime configuration (Node.js):**\n\n```typescript\nimport * as Sentry from '@sentry\u002Fnode';\n\nconst client = Sentry.getClient();\nif (!client) {\n  console.error('ERROR: Sentry client not initialized — Sentry.init() may not have been called');\n  process.exit(1);\n}\n\nconst opts = client.getOptions();\nconst diagnostics = {\n  sdk_version: Sentry.SDK_VERSION,\n  dsn_configured: !!opts.dsn,\n  dsn_host: opts.dsn ? new URL(opts.dsn).hostname : 'N\u002FA',\n  dsn_project_id: opts.dsn ? new URL(opts.dsn).pathname.replace('\u002F', '') : 'N\u002FA',\n  environment: opts.environment ?? '(default)',\n  release: opts.release ?? '(auto-detect)',\n  debug: opts.debug ?? false,\n  sample_rate: opts.sampleRate ?? 1.0,\n  traces_sample_rate: opts.tracesSampleRate ?? '(not set)',\n  profiles_sample_rate: opts.profilesSampleRate ?? '(not set)',\n  send_default_pii: opts.sendDefaultPii ?? false,\n  max_breadcrumbs: opts.maxBreadcrumbs ?? 100,\n  before_send: typeof opts.beforeSend === 'function' ? 'CONFIGURED' : 'none',\n  before_send_transaction: typeof opts.beforeSendTransaction === 'function' ? 'CONFIGURED' : 'none',\n  before_breadcrumb: typeof opts.beforeBreadcrumb === 'function' ? 'CONFIGURED' : 'none',\n  integrations: client.getOptions().integrations?.map(i => i.name) ?? [],\n  transport: opts.transport ? 'custom' : 'default',\n};\n\nconsole.log(JSON.stringify(diagnostics, null, 2));\n```\n\n**Extract runtime configuration (Python):**\n\n```python\nimport sentry_sdk\nfrom sentry_sdk import Hub\n\nclient = Hub.current.client\nif not client:\n    print(\"ERROR: Sentry client not initialized\")\n    exit(1)\n\nopts = client.options\nprint(f\"SDK version:       {sentry_sdk.VERSION}\")\nprint(f\"DSN configured:    {bool(opts.get('dsn'))}\")\nprint(f\"Environment:       {opts.get('environment', '(default)')}\")\nprint(f\"Release:           {opts.get('release', '(auto-detect)')}\")\nprint(f\"Debug:             {opts.get('debug', False)}\")\nprint(f\"Sample rate:       {opts.get('sample_rate', 1.0)}\")\nprint(f\"Traces sample rate:{opts.get('traces_sample_rate', '(not set)')}\")\nprint(f\"Send default PII:  {opts.get('send_default_pii', False)}\")\nprint(f\"before_send:       {'CONFIGURED' if opts.get('before_send') else 'none'}\")\nprint(f\"before_breadcrumb: {'CONFIGURED' if opts.get('before_breadcrumb') else 'none'}\")\nprint(f\"Integrations:      {[i.identifier for i in client.integrations.values()]}\")\n```\n\n> **Key check:** If `beforeSend` is CONFIGURED, inspect the function — a `beforeSend` that returns `null` will silently drop every event.\n\n### Step 2 — Verify DSN Connectivity and Sentry Service Status\n\nConfirm the application can reach Sentry's ingest endpoint and that Sentry itself is operational.\n\n**Test DSN reachability:**\n\n```bash\n# Test the Sentry API root (should return HTTP 200)\ncurl -s -o \u002Fdev\u002Fnull -w \"sentry.io API: HTTP %{http_code} (%{time_total}s)\\n\" \\\n  https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F\n\n# Test the ingest endpoint derived from your DSN\n# DSN format: https:\u002F\u002F\u003CPUBLIC_KEY>@o\u003CORG_ID>.ingest.sentry.io\u002F\u003CPROJECT_ID>\n# Extract host from DSN and test the envelope endpoint\ncurl -s -o \u002Fdev\u002Fnull -w \"Ingest endpoint: HTTP %{http_code} (%{time_total}s)\\n\" \\\n  \"https:\u002F\u002Fo0.ingest.sentry.io\u002Fapi\u002F0\u002Fenvelope\u002F\"\n\n# DNS resolution check\ndig +short o0.ingest.sentry.io 2>\u002Fdev\u002Fnull || nslookup o0.ingest.sentry.io\n\n# Check for proxy\u002Ffirewall interference\ncurl -v https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F 2>&1 | grep -iE 'proxy|blocked|forbidden|connect'\n```\n\n**Check Sentry service status:**\n\nVisit [https:\u002F\u002Fstatus.sentry.io](https:\u002F\u002Fstatus.sentry.io) or:\n\n```bash\n# Programmatic status check\ncurl -s https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json | python3 -c \"\nimport sys, json\nd = json.load(sys.stdin)\nprint(f\\\"Sentry Status: {d['status']['description']}\\\")\nprint(f\\\"Updated:       {d['page']['updated_at']}\\\")\n\"\n```\n\n**Verify auth token and project access (requires `SENTRY_AUTH_TOKEN`):**\n\n```bash\n# Check token validity and list accessible projects\ncurl -s -H \"Authorization: Bearer $SENTRY_AUTH_TOKEN\" \\\n  https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002Fprojects\u002F | python3 -c \"\nimport sys, json\nprojects = json.load(sys.stdin)\nif isinstance(projects, dict) and 'detail' in projects:\n    print(f'Auth error: {projects[\\\"detail\\\"]}')\nelse:\n    for p in projects[:10]:\n        print(f\\\"  {p['organization']['slug']}\u002F{p['slug']} (platform: {p.get('platform', 'N\u002FA')})\\\")\"\n\n# sentry-cli auth check\nsentry-cli info 2>\u002Fdev\u002Fnull || echo \"sentry-cli not authenticated — run: sentry-cli login\"\n```\n\n### Step 3 — Test Event Capture, Verify Delivery, and Generate Report\n\nSend a diagnostic test event, confirm it arrives in Sentry, and produce the final debug bundle report.\n\n**Send test event via sentry-cli:**\n\n```bash\n# Quick test — sends a test message event\nsentry-cli send-event -m \"diagnostic test from debug-bundle $(date -u +%Y-%m-%dT%H:%M:%SZ)\"\n```\n\n**Send test event programmatically (Node.js):**\n\n```typescript\nimport * as Sentry from '@sentry\u002Fnode';\n\nSentry.init({\n  dsn: process.env.SENTRY_DSN,\n  debug: true, \u002F\u002F Enables console logging of SDK internals\n});\n\nconst eventId = Sentry.captureMessage('sentry-debug-bundle diagnostic test', 'info');\nconsole.log(`Test event ID: ${eventId}`);\nconsole.log(`View at: https:\u002F\u002Fsentry.io\u002Forganizations\u002FYOUR_ORG\u002Fissues\u002F?query=${eventId}`);\n\n\u002F\u002F CRITICAL: Node.js will exit before async transport completes without flush\nconst flushed = await Sentry.flush(10000);\nconsole.log(`Flush: ${flushed ? 'SUCCESS — event delivered' : 'TIMEOUT — event may not have been sent'}`);\n\nif (!flushed) {\n  console.error('Flush timeout. Possible causes:');\n  console.error('  - Network blocking outbound HTTPS to sentry.io');\n  console.error('  - DSN is invalid or project has been deleted');\n  console.error('  - Rate limit exceeded (HTTP 429)');\n}\n```\n\n**Send test event programmatically (Python):**\n\n```python\nimport sentry_sdk\nimport time\n\nsentry_sdk.init(dsn=\"YOUR_DSN\", debug=True)\n\nevent_id = sentry_sdk.capture_message(\"sentry-debug-bundle diagnostic test\", level=\"info\")\nprint(f\"Test event ID: {event_id}\")\n\n# Python SDK flushes automatically on exit, but explicit flush is safer\nsentry_sdk.flush(timeout=10)\nprint(\"Flush complete — check Sentry dashboard for event\")\n```\n\n**Generate the debug bundle report:**\n\n```bash\n#!\u002Fbin\u002Fbash\nset -euo pipefail\n\nREPORT=\"sentry-debug-$(date +%Y%m%d-%H%M%S).md\"\n\ncat > \"$REPORT\" \u003C\u003C 'HEADER'\n# Sentry Debug Bundle\nHEADER\n\ncat >> \"$REPORT\" \u003C\u003C EOF\n**Generated:** $(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n**Node.js:** $(node --version 2>\u002Fdev\u002Fnull || echo N\u002FA)\n**Python:** $(python3 --version 2>\u002Fdev\u002Fnull || echo N\u002FA)\n**OS:** $(uname -srm)\n**sentry-cli:** $(sentry-cli --version 2>\u002Fdev\u002Fnull || echo 'not installed')\n\n## SDK Packages\n\\`\\`\\`\n$(npm list 2>\u002Fdev\u002Fnull | grep -i sentry || echo \"No npm Sentry packages\")\n$(pip show sentry-sdk 2>\u002Fdev\u002Fnull | grep -E '^(Name|Version|Location)' || echo \"No pip sentry-sdk\")\n\\`\\`\\`\n\n## Environment Variables (sanitized)\n| Variable | Status |\n|----------|--------|\n| SENTRY_DSN | $([ -n \"${SENTRY_DSN:-}\" ] && echo \"SET (\\`$(echo \"$SENTRY_DSN\" | sed 's|\u002F\u002F[^@]*@|\u002F\u002F***@|')\\`)\" || echo \"NOT SET\") |\n| SENTRY_ORG | ${SENTRY_ORG:-NOT SET} |\n| SENTRY_PROJECT | ${SENTRY_PROJECT:-NOT SET} |\n| SENTRY_AUTH_TOKEN | $([ -n \"${SENTRY_AUTH_TOKEN:-}\" ] && echo \"SET (${#SENTRY_AUTH_TOKEN} chars)\" || echo \"NOT SET\") |\n| SENTRY_RELEASE | ${SENTRY_RELEASE:-NOT SET} |\n| SENTRY_ENVIRONMENT | ${SENTRY_ENVIRONMENT:-NOT SET} |\n| NODE_ENV | ${NODE_ENV:-NOT SET} |\n\n## Network Connectivity\n$(curl -s -o \u002Fdev\u002Fnull -w \"- sentry.io API: HTTP %{http_code} (%{time_total}s)\" https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F 2>\u002Fdev\u002Fnull || echo \"- sentry.io: UNREACHABLE\")\n$(curl -s -o \u002Fdev\u002Fnull -w \"\\n- Ingest endpoint: HTTP %{http_code} (%{time_total}s)\" https:\u002F\u002Fo0.ingest.sentry.io\u002Fapi\u002F0\u002Fenvelope\u002F 2>\u002Fdev\u002Fnull || echo \"- Ingest: UNREACHABLE\")\n\n## Sentry Status\n$(curl -s https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json 2>\u002Fdev\u002Fnull | python3 -c \"import sys,json; d=json.load(sys.stdin); print(f\\\"- Status: {d['status']['description']}\\\")\" 2>\u002Fdev\u002Fnull || echo \"- Status: Could not fetch\")\n\n## CLI Authentication Status\n\\`\\`\\`\n$(sentry-cli info 2>\u002Fdev\u002Fnull || echo \"sentry-cli not authenticated — run: sentry-cli login\")\n\\`\\`\\`\n\n## Source Map Artifacts\n\\`\\`\\`\n$(sentry-cli releases files \"${SENTRY_RELEASE:-unknown}\" list 2>\u002Fdev\u002Fnull || echo \"No release artifacts found (set SENTRY_RELEASE)\")\n\\`\\`\\`\nEOF\n\necho \"Debug bundle saved to: $REPORT\"\necho \"Attach this file to your Sentry support ticket at https:\u002F\u002Fsentry.io\u002Fsupport\u002F\"\n```\n\n## Output\n\nThe debug bundle produces:\n\n- **SDK inventory** — all `@sentry\u002F*` or `sentry-sdk` versions with mismatch detection\n- **Configuration snapshot** — DSN (redacted), environment, release, sample rates, hooks status\n- **Connectivity report** — HTTP status and latency to `sentry.io` API and ingest endpoints\n- **Service status** — current Sentry platform health from status.sentry.io\n- **Test event confirmation** — event ID with flush result (SUCCESS or TIMEOUT)\n- **Markdown report file** — `sentry-debug-YYYYMMDD-HHMMSS.md` ready to attach to support tickets\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Sentry client not initialized` | `Sentry.init()` not called or called after diagnostic code | Ensure `Sentry.init()` runs at application entry point before any capture calls |\n| `Flush: TIMEOUT` | Network blocking outbound HTTPS to `*.ingest.sentry.io` | Check firewall rules, corporate proxy, VPN — allow outbound 443 to `*.ingest.sentry.io` |\n| `sentry-cli info` reports no auth | Token not set or expired | Run `sentry-cli login` or set `SENTRY_AUTH_TOKEN` ([generate](https:\u002F\u002Fsentry.io\u002Fsettings\u002Fauth-tokens\u002F)) |\n| Package version mismatch (`@sentry\u002F*` at different versions) | Partial upgrade or transitive dependency conflict | Align all `@sentry\u002F*` packages to the same version: `npm i @sentry\u002Fnode@latest @sentry\u002Fbrowser@latest` and run `npm dedupe` |\n| `sourcemaps explain` shows no match | `--url-prefix` does not match the stack trace URLs | Compare the `abs_path` in your error event's stack frame with the `--url-prefix` used during upload |\n| Events dropped by `beforeSend` | Hook returns `null` for matching events | Log inside `beforeSend` to verify: `console.log('beforeSend:', event.exception?.values?.[0]?.type)` |\n| DSN returns HTTP 401 \u002F 403 | Project deleted, DSN revoked, or wrong organization | Verify DSN at Settings > Projects > Client Keys in the Sentry dashboard |\n| `429 Too Many Requests` | Organization or project rate limit exceeded | Check quotas at Settings > Subscription, reduce `sampleRate`\u002F`tracesSampleRate`, or use `beforeSend` to filter noise |\n| Process exits before events sent (Node.js) | No `await Sentry.flush()` before `process.exit()` | Always call `await Sentry.flush(timeout)` before exiting; in serverless, use the platform's `Sentry.wrapHandler()` |\n\n## Examples\n\n### TypeScript — Full Diagnostic Script\n\n```typescript\n\u002F\u002F scripts\u002Fsentry-diagnostics.ts\nimport * as Sentry from '@sentry\u002Fnode';\n\nasync function runDiagnostics() {\n  \u002F\u002F 1. Check SDK is initialized\n  const client = Sentry.getClient();\n  if (!client) {\n    console.error('[FAIL] Sentry client not initialized');\n    console.error('       Ensure Sentry.init({ dsn: \"...\" }) is called before this script');\n    return;\n  }\n  console.log(`[OK]   SDK version: ${Sentry.SDK_VERSION}`);\n\n  \u002F\u002F 2. Check configuration\n  const opts = client.getOptions();\n  console.log(`[OK]   DSN configured: ${!!opts.dsn}`);\n  console.log(`[INFO] Environment: ${opts.environment ?? '(default)'}`);\n  console.log(`[INFO] Release: ${opts.release ?? '(auto-detect)'}`);\n  console.log(`[INFO] Debug mode: ${opts.debug ?? false}`);\n  console.log(`[INFO] Sample rate: ${opts.sampleRate ?? 1.0}`);\n  console.log(`[INFO] Traces sample rate: ${opts.tracesSampleRate ?? '(not set)'}`);\n  console.log(`[INFO] beforeSend: ${typeof opts.beforeSend === 'function' ? 'CONFIGURED' : 'none'}`);\n\n  \u002F\u002F 3. List active integrations\n  const integrations = opts.integrations?.map(i => i.name) ?? [];\n  console.log(`[INFO] Integrations (${integrations.length}): ${integrations.join(', ')}`);\n\n  \u002F\u002F 4. Send test event\n  const eventId = Sentry.captureMessage('sentry-diagnostics test event', 'info');\n  console.log(`[INFO] Test event ID: ${eventId}`);\n\n  \u002F\u002F 5. Flush and verify\n  const flushed = await Sentry.flush(10000);\n  if (flushed) {\n    console.log('[OK]   Flush succeeded — event delivered to Sentry');\n  } else {\n    console.error('[FAIL] Flush timed out — check network connectivity to Sentry');\n  }\n}\n\nrunDiagnostics().catch(err => console.error('[FAIL] Diagnostic error:', err));\n```\n\n### Python — Full Diagnostic Script\n\n```python\n# scripts\u002Fsentry_diagnostics.py\nimport sentry_sdk\nfrom sentry_sdk import Hub\nimport urllib.request\nimport json\nimport sys\n\ndef run_diagnostics():\n    print(\"=== Sentry Debug Bundle (Python) ===\\n\")\n\n    # 1. SDK version\n    print(f\"SDK version: {sentry_sdk.VERSION}\")\n\n    # 2. Client check\n    client = Hub.current.client\n    if not client:\n        print(\"[FAIL] Sentry client not initialized\")\n        print(\"       Call sentry_sdk.init(dsn='...') before running diagnostics\")\n        sys.exit(1)\n    print(\"[OK]   Client initialized\")\n\n    # 3. Configuration\n    opts = client.options\n    print(f\"[INFO] DSN configured: {bool(opts.get('dsn'))}\")\n    print(f\"[INFO] Environment: {opts.get('environment', '(default)')}\")\n    print(f\"[INFO] Release: {opts.get('release', '(auto-detect)')}\")\n    print(f\"[INFO] Debug: {opts.get('debug', False)}\")\n    print(f\"[INFO] Sample rate: {opts.get('sample_rate', 1.0)}\")\n    print(f\"[INFO] Traces sample rate: {opts.get('traces_sample_rate', '(not set)')}\")\n    print(f\"[INFO] before_send: {'CONFIGURED' if opts.get('before_send') else 'none'}\")\n    print(f\"[INFO] before_breadcrumb: {'CONFIGURED' if opts.get('before_breadcrumb') else 'none'}\")\n\n    # 4. Integrations\n    integrations = [i.identifier for i in client.integrations.values()]\n    print(f\"[INFO] Integrations ({len(integrations)}): {', '.join(integrations)}\")\n\n    # 5. Network connectivity\n    try:\n        req = urllib.request.urlopen(\"https:\u002F\u002Fsentry.io\u002Fapi\u002F0\u002F\", timeout=5)\n        print(f\"[OK]   sentry.io reachable (HTTP {req.status})\")\n    except Exception as e:\n        print(f\"[FAIL] sentry.io unreachable: {e}\")\n\n    # 6. Service status\n    try:\n        req = urllib.request.urlopen(\"https:\u002F\u002Fstatus.sentry.io\u002Fapi\u002Fv2\u002Fstatus.json\", timeout=5)\n        data = json.loads(req.read())\n        print(f\"[INFO] Sentry status: {data['status']['description']}\")\n    except Exception:\n        print(\"[WARN] Could not fetch Sentry status\")\n\n    # 7. Test event\n    event_id = sentry_sdk.capture_message(\"sentry-diagnostics test event\", level=\"info\")\n    print(f\"[INFO] Test event ID: {event_id}\")\n\n    # 8. Flush\n    sentry_sdk.flush(timeout=10)\n    print(\"[OK]   Flush complete\")\n\nif __name__ == \"__main__\":\n    run_diagnostics()\n```\n\n## Resources\n\n- [Sentry Troubleshooting Guide (JavaScript)](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Ftroubleshooting\u002F) — official SDK debugging steps\n- [Sentry Troubleshooting Guide (Python)](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fpython\u002Ftroubleshooting\u002F) — Python-specific diagnostics\n- [Source Maps Troubleshooting](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fsourcemaps\u002Ftroubleshooting_js\u002F) — `sourcemaps explain` and URL prefix debugging\n- [sentry-cli Reference](https:\u002F\u002Fdocs.sentry.io\u002Fcli\u002F) — CLI installation, auth, `send-event`, `sourcemaps` commands\n- [Sentry Status Page](https:\u002F\u002Fstatus.sentry.io) — real-time platform health\n- [Sentry Support](https:\u002F\u002Fsentry.io\u002Fsupport\u002F) — submit tickets with your debug bundle attached\n- [sentry-javascript GitHub Issues](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-javascript\u002Fissues) — known bugs and community reports\n\n## Next Steps\n\nAfter collecting the debug bundle:\n\n1. **Events missing?** Check `beforeSend` hook — add logging to confirm events are not being dropped\n2. **Source maps broken?** Run `sentry-cli sourcemaps explain --org ORG --project PROJ EVENT_ID` to diagnose URL prefix mismatches\n3. **Performance data missing?** Verify `tracesSampleRate` is non-zero and the instrumentation integration is active\n4. **Rate limited?** Review org quotas at Settings > Subscription and reduce sample rates\n5. **Need deeper tracing?** Enable `debug: true` in `Sentry.init()` to see full SDK lifecycle in console\n6. **Ready to file a ticket?** Attach the generated `sentry-debug-*.md` file to your request at [sentry.io\u002Fsupport](https:\u002F\u002Fsentry.io\u002Fsupport\u002F)\n",{"name":5,"tags":24,"author":30,"license":15,"version":31,"description":32,"allowed-tools":33,"compatible-with":34},[25,26,27,28,29],"saas","sentry","debugging","support","diagnostics","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Collect diagnostic information for Sentry troubleshooting and support tickets.\nUse when events are not appearing in Sentry, SDK initialization seems broken,\nDSN connectivity fails, source maps are not resolving, or preparing a support request.\nTrigger with \"sentry debug info\", \"sentry diagnostics\", \"debug bundle\", \"sentry support ticket\".\n","Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(npx:*), Bash(pip:*), Bash(python:*), Bash(curl:*), Bash(dig:*), Bash(sentry-cli:*), Grep, Glob","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--sentry-pack--sentry-debug-bundle",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill sentry-debug-bundle",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill sentry-debug-bundle",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill sentry-debug-bundle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--sentry-pack--sentry-debug-bundle\u002FSKILL.md",true,[],[59,66,73,80,87,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]