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

From: Andreas Hennings <lemon.head.bw[@]googlemail.com>
Date: Tue, 4 Oct 2011 17:19:05 +0200

Hmm..
for some reason I thought I already tried this and it did not work.
However, checking again, it does work.
Sorry for the noise - thanks!

2011/10/4 Derick Rethans <derick[@]xdebug.org>:
> 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 - 16:19:26 BST

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