View Issue Details

IDProjectCategoryView StatusLast Update
0002403XdebugdbgpClientpublic2026-05-10 16:15
Reporterxavierleune Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Platformfrankenphp 
Product Version3.5.1 
Summary0002403: Better support of worker mode
Description

The current implementation is not ideal to debug worker mode.
You need to:

  1. add your breakpoint before starting the worker
  2. call xdebug_connect_to_client (and that's included in symfony runtime) but it bypasses the xdebug.start_with_request=trigger configuration

It's possible to offer a better support of worker mode by hooking with frankenphp and enable / disable profiling when needed.

TagsNo tags attached.
Operating System
PHP Version8.5.0-8.5.4

Activities

derick

2026-05-10 16:15

administrator   ~0007491

Can you be a lot more elaborate here? I don't know what PHP's "worker mode" is about.

Xdebug will try to connect to an IDE when a request starts, or when you call xdebug_connect_to_client, or when it sees a request triggered through its control sockets (https://xdebug.org/docs/step_debug#control_socket).

Issue History

Date Modified Username Field Change
2026-02-05 16:24 xavierleune New Issue
2026-05-10 16:15 derick Assigned To => derick
2026-05-10 16:15 derick Status new => feedback
2026-05-10 16:15 derick Note Added: 0007491