Can I change option xdebug.profiler_output_name in runtime to specify application modules profiling?
Can I change option xdebug.profiler_output_name in runtime to specify application modules profiling?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t change the profiler output name in the script, because the profiler starts before PHP starts your script. Hence, when the script starts, the file has already been created. You should be able to use
.htaccessthough,The next version of Xdebug (2.3) will allow starting the profiler from the script, which then also will allow you to change the
xdebug.profiler_output_namesetting in the script (as long as you do it before starting the profiler of course).