How can I use Blackfire for debugging my code?
Blackfire is built for code performance optimization. Hooking deep into the application runtime, it enables developers to know exactly which code is executed, when, and how much resources it consumes. This opens doors to more than performance optimization: debugging.
The initial purpose of Blackfire required some choices for the technical implementation of profiling. We built a lightweight profiler, which enables developers to focus fast on what really matters in terms of performance, and guarantees optimal privacy.
This required to:
Prune (remove from the profile’s data) all function/method calls responsible for less than 1% of the overall consumption metrics. That would remove all unnecessary noise on callgraphs;
Anonymize SQL queries by not sending any parameter to our servers.
But the data we remove for profiling and privacy are potentially highly valuable when in a debug session. The Debug Add-on is built to let developers disable pruning and anonymization for specific requests!
The add-on can be subscribed to with any paid plan.
Read more about the add-on in the following two articles:
Subscribing to the add-on
The add-on is available for any subscription to the Profiler, Premium and Enterprise Editions.
This add-on is not available as a trial.