-
BackgroundBefore asking this question, I searched through existing issues/PRs and reviewed the official documentation “Step Debugging with Xdebug”. I can already debug regular web requests without any issues. SetupI prepared a reproducible example based on Laravel 12 and the default DDEV database. In web_extra_daemons:
- name: "queue-2"
command: "/usr/bin/php /var/www/html/artisan queue:listen --sleep=3 --tries=3 --timeout=120"
directory: /var/www/htmlThen, using Current StatusAfter enabling Xdebug via
ProblemWhen supervisor-managed queue workers run, PhpStorm shows:
Queue breakpoints are not hit. I am certain that passing the correct server name (for example, Is there a better or more standard way to enable Xdebug for Laravel queue workers run under supervisor? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
|
Hi @faytecCD,
There are some conflicts with
Not a direct solution, but I usually use Buggregator for cases like this (for example, when I need to debug an API call coming from another DDEV project). Setting up Xdebug for these extended workflows is always tricky. |
Beta Was this translation helpful? Give feedback.


@faytecCD If you want to see the Xdebug queue working attachment in action: https://www.youtube.com/watch?v=jBvrVpNHOCw