debug-using-debugbar
Installation
SKILL.md
Debugging and optimizing workflow
- Find the relevant request:
php artisan debugbar:find --issues --max=50 - Inspect the request summary to identify which collectors have data:
php artisan debugbar:get {id} - Drill into the relevant collector based on the issue type:
php artisan debugbar:get {id} --collector=exceptions - For query issues, use dedicated query analysis:
php artisan debugbar:queries {id} - Trace the problem to source code using backtraces, then fix and re-test.