O
O
Oleg Kalinovskiy2020-03-14 12:23:51
PHP
Oleg Kalinovskiy, 2020-03-14 12:23:51

laravel queue breakpoint not getting called?

Hello, there is a job that is responsible for sending mail. I'm trying to debug it through xdebug and artisan, but when I make a call through the console, the breakpoint does not work.
If anything, sorry for the wrong wording, I'm just starting to work with Laravel.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Kalinovskiy, 2020-03-14
@oleg-kalinovskiy

Issue resolved. Helped by Anton Shamanov . Xdebug and PhpStorm need to be configured as follows

A
Alex Wells, 2020-03-14
@Alex_Wells

Jobs in sync? Either they must be in sync, or you enable xdebug for the cli version of php and start the horizon/queue worker with the xdebug flag.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question