Answer the question
In order to leave comments, you need to log in
How to use Laravel Telescope to debug Jobs?
Installed Telescope - it seems to show, yes, that the Job has been completed, but is it possible to track the values of variables somehow there or something like that? :)
In general, what is the best way to debug Jobs? Just write to the log or what?
Answer the question
In order to leave comments, you need to log in
I installed https://github.com/romanzipp/Laravel-Queue-Monitor
from all the functionality, I just write to the database what happened with what
For debugging, you can use dump() or dd() and execute queues from the console.
Well, it's better to immediately set a limit on the number of job executions, because in the case of a fail, it will get back into the queue.
*dump() + dump-server - prints the necessary data to the console and does not interrupt the execution of the job, without dump-server it displays everything to the console where the queue is running and it turns out a hash.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question