-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG : Xdebug 3 - Not compatible #468
Comments
I think phpinfo() shows: Profiler | ✔ enabled Still clockwork profile does not load "Profile is not present for current request" I guess there is some other issue. |
I confirm ;) |
Yep. The config settings to turn on profiling have changed in Xdebug 3. And it seems that the way the output is generated may have changed because even when I manually enable profiling, the output isn't displayed in Clockwork in the way it used to with Xdebug 2. |
Ok it work, just have to setup correctly the trigger. In the php.ini right after opcache: then call a page with xdebug_info(); inside and ?XDEBUG_TRIGGER=secrettrigerhere, you should get "Profile File" not empty and set to a path. But there is still a bug tho, the time is not correct : |
I'm experiencing these issues as well |
Hey, looks like Xdebug 3 changed the measurements accuracy from 1 ms to 10 ns, so the displayed values are 100 times larger than they should be, eg. 579.3ms in the screenshot is really 579.3 * 10 ns, or 5.793 ms. This will be updated in the next minor Clockwork release to correctly convert to ms. Btw. if you remove |
@itsgoingd I want to see xdebug profiler when running tests. How can I solve it? Thanks! I am also using xdebug 3 and latest clockwork version |
Fixed in Clockwork 5.1, both Xdebug2 and high-precision Xdebug3 metrics are correctly displayed. |
Hi,
I have a problem with Xdebug 3, with this configuration :
same problem with mode profile
Clockwork isn't compatible with Xdebug 3
Have you a solution ?
Thx
The text was updated successfully, but these errors were encountered: