[xdebug-general] Re: xdebug.profiler_output_name - use $_GET params in filename

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 4 Oct 2011 15:57:53 +0100 (BST)

On Tue, 4 Oct 2011, Andreas Hennings wrote:

> Hi..
> I am currently using xdebug as a profiler tool for Drupal.
> Typically, Drupal requests have a "?q=path/to/page"-like $_GET
> parameter, appended by Apache's mod_rewrite.
> It would be very useful if this parameter could be used in the
> filename of the profiler output, instead of the quite meaningless
> "index.php".
>
> And, if we already do this with profiler output, then why not also
> with trace output.
> xdebug.trace_output_name
> xdebug.profiler_output_name

You can already do this, by using the %R format specifiers for output
names: http://xdebug.org/docs/all_settings#trace_output_name
That works for both tracing and profiling.

Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Tue Oct 04 2011 - 15:57:53 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST