K
K
khodos_dmitry2019-04-16 10:58:54
xdebug
khodos_dmitry, 2019-04-16 10:58:54

Why are there no php profiler logs?

The following settings are in php.ini:

xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir="%sprogdir%/userdata/temp/xdebug/"

I test the following script:
$_POST['XDEBUG_PROFILE'] = 1;
$city = getCityById(1,$link);
$offices = getOfficesByCity($city, $link, '', 10);
foreach ($offices as $office) {
    echo $office['address']."<br />\r\n";
}

the script is running, but the folder g:\OpenServer\userdata\temp\xdebug\ is empty.
I did not set any additional settings in phpstorm.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question