-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Blackfire CLI profiling #187
Comments
Bad news, there is not yet a way to do so! I've just reviewed the Blackfire documentation, though, and will be contributing it soon. Once it's contributed, the way to do so would be to run:
|
As a workaround while you wait, You can add a version: "3.5"
services:
php-blackfire:
environment:
- BLACKFIRE_CLIENT_ID=${BLACKFIRE_CLIENT_ID}
- BLACKFIRE_CLIENT_TOKEN=${BLACKFIRE_CLIENT_TOKEN} Then run a
This will install the blackfire client, and then once you drop out of sudo you should be able to run |
Thank you! |
Thanks for implementing this @navarr. I've merged the PR into develop mainline and plan to include it in the next minor release. |
Profiling Magento 2 with the blackfire browser extension works well.
But what is the right way to run the
blackfire
command line tool to profile, for example,bin/magento
commands?The text was updated successfully, but these errors were encountered: