You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel Debugbar integrates PHP Debug Bar with Laravel. It collects data from your application during each request (queries, views, routes, mail, etc.) and stores it for review.
4
-
5
-
### Artisan Commands
6
-
7
-
- `debugbar:find` - Search stored debugbar requests with filters. Useful for finding specific requests to inspect.
8
-
- `debugbar:get {id}` - View details of a specific debugbar request by its ID.
9
-
- `debugbar:queries {id}` - Inspect queries for a specific request, with duplicate detection, EXPLAIN, and result output.
10
-
- `debugbar:clear` - Clear all stored debugbar data.
3
+
Laravel Debugbar stores data from each request (queries, exceptions, views, routes, mail, etc.) for review via Artisan commands.
11
4
12
5
### Finding Requests
13
6
14
-
Use `debugbar:find` to search through stored requests:
# Threshold options also work standalone, filtering on just that criteria
22
+
php artisan debugbar:find --min-queries=20
35
23
</code-snippet>
36
24
@endverbatim
37
25
38
-
### Inspecting a Request
26
+
`--issues` flags: exceptions, non-2xx status, high query count, slow queries, duplicate query groups, slow request duration, and failed queries. Issue filtering applies on top of the fetched result set — increase `--max` to scan further back.
39
27
40
-
After finding a request ID with `debugbar:find`, inspect it with `debugbar:get` to get a summary,
41
-
and add --collector=name to get the full details for that collector.
0 commit comments