Xdebug is not outputting anything

vps

#1

I have installed compatible xdebug version: 2.3.0 with PHP 5.4.
I can see in my phpinfo that, xdebug is loaded correctly with all settings that I configured.
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = "*****/path/to/my/folder"
xdebug.profiler_output_name = “cachegrind.out”

output_dir has correct value.

When I run my website with: ?XDEBUG_PROFILE=1 , it does nothing.
There is no output file. I have changed owner and file permission for my output directory. Nothing helped!!

Please let me know, if anyone has faced this problem.

Thanks


#2

You need to set xdebug.profiler_enable to 1 to enable it.


#3

I have an enable trigger option which is set to true. Otherwise, it will start profiling with every request. I requested xdebug profile with a get parameter: XDEBUG__PROFILE=1 . With the same settings, it works good in my localhost. It’s crazy in dreamhost. I’ve tried in other hosting services. They have better handling.