我剛學(xué)使用xdebug這工具,發(fā)現(xiàn)他功能強(qiáng)大,但難駕馭啊。來看我的配置:
[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
我的日志文件在幾分鐘內(nèi)漲到 1.6G,是不是因?yàn)槲掖蜷_了那個(gè)auto_trace配置?下面那個(gè)trace.1949388597.xt,太嚇人了,我是開發(fā)環(huán)境并沒有多少訪問量,但這里的數(shù)據(jù)為何這么多?求指教?
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
問題二,我裝了webgrindGUI工具。顯示的為什么是這樣的,沒有顯示函數(shù)名:
2 回答

蝴蝶不菲
TA貢獻(xiàn)1810條經(jīng)驗(yàn) 獲得超4個(gè)贊
我找到原因了,應(yīng)該是webgrindGUI版本太低了,我重裝了1.5版本后就可以顯示函數(shù)名了
- 2 回答
- 0 關(guān)注
- 503 瀏覽
添加回答
舉報(bào)
0/150
提交
取消