# Laravel Debugging

> Debug Laravel apps in production — N+1 queries, memory leaks, stuck queues, slow jobs, silent errors, Horizon

- Skill: `majiayu000/laravel-debugging` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/laravel-debugging`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/laravel-debugging/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/laravel-debugging

---


# Skill: Laravel Debugging — Produção

## Quando Usar
- Rota Laravel está lenta ou retornando 500 sem mensagem clara no Nginx
- Job na fila travou, não processa ou está em loop de retry
- Horizon aparece como PAUSED ou workers somem do supervisor
- Memory limit exceeded em PHP-FPM ou OOM kill em worker de fila

## Contexto

**Apps ativas neste servidor:**
| App | PHP | Horizon | Workers Supervisor |
|-----|-----|---------|-------------------|
| `api.myapp.example.com` | 8.3 | daemon-XXXXX | nightwatch(XXXXX), news-processing(XXXXX), pulse(XXXXX) |
| `myapp.example.com` | 8.4 | — | — |
| `work8.example.com` | 8.3 | daemon-XXXXX/XXXXX | — |
| `ece.example.com` | 8.x | — | — |

**Paths críticos:**
