I just learned to use xdebug, and I found it powerful but difficult to control.
take a look at my configuration:
[xdebug]
zend_extension=xdebug.so
xdebug.remote_host=192.168.6.159
xdebug.remote_enable=On
xdebug.remote_port=9001
xdebug.remote_handler="dbgp"
xdebug.remote_mode="req"
xdebug.idekey="phpstorm"
;xdebug.remote_connect_back=1
;xdebug.auto_autostart=1
xdebug.remote_log=/data1/logs/xdebugTrace/trace.log
;xdebug.auto_trace=1
xdebug.profiler_enable=on
xdebug.trace_output_dir="/data1/logs/xdebugTrace/trace_output_dir"
xdebug.profiler_output_dir="/data1/logs/xdebugTrace/trace_output_dir"
xdebug.trace_options=1
xdebug.trace_output_name=trace.%c
is it because I opened the auto_trace configuration that my log file rose to 1.6G in a few minutes? The following trace.1949388597.xt,
is too scary. I don"t have much traffic in my development environment, but why is there so much data here? Ask for advice?
240 -rw-r--r--. 1 nobody nobody 242688 4 20 18:12 cachegrind.out.16342
244 -rw-r--r--. 1 nobody nobody 246114 4 20 18:18 cachegrind.out.16343
244 -rw-r--r--. 1 nobody nobody 246068 4 20 18:18 cachegrind.out.16404
178652 -rw-r--r--. 1 nobody nobody 182938526 4 20 18:19 cachegrind.out.16405
216124 -rw-r--r--. 1 nobody nobody 221308259 4 20 18:23 cachegrind.out.16415
244 -rw-r--r--. 1 nobody nobody 245892 4 20 18:23 cachegrind.out.16416
244 -rw-r--r--. 1 nobody nobody 245900 4 20 18:23 cachegrind.out.16423
4202368 -rw-r--r--. 1 nobody nobody 2380530850 4 20 18:23 trace.1949388597.xt
4096 -rw-r--r--. 1 nobody nobody 2621997 4 20 18:23 trace.2986568079.xt
question 2, I installed the webgrindGUI tool. Why is this shown? the function name is not displayed: