2012-04-22 11 views
0

xdebugがエラートレースとvar_dumpを表示しないのはなぜですか(PHP standatrエラー出力のみ)?しかし、デバッグは機能しています。Xdebugはトレースとダンプを表示しません

私はMac OS Lionを使用しています。ここで

は私の設定です:

[xdebug] 
zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so 
; Remote settings 
xdebug.remote_autostart=off 
xdebug.remote_enable=on 
xdebug.remote_handler=dbgp 
xdebug.remote_mode=req 
xdebug.remote_host=localhost 
xdebug.remote_port=9000 

; General 
xdebug.show_local_vars=On 
xdebug.dump.SERVER=HTTP_HOST, SERVER_NAME 
xdebug.dump_globals=On 
xdebug.collect_params=4 
xdebug.auto_trace=off 
xdebug.collect_includes=on 
xdebug.collect_return=off 
xdebug.default_enable=on 
xdebug.extended_info=1 
xdebug.manual_url=http://www.php.net 
xdebug.show_mem_delta=1 
xdebug.max_nesting_level=100 
xdebug.idekey=xdebug 

; Trace options 
xdebug.trace_format=0 
xdebug.trace_output_dir=/tmp/xdebug/trace 
xdebug.trace_options=0 
xdebug.trace_output_name=tracelog 

; Profiling 
xdebug.profiler_append=0 
xdebug.profiler_enable=0 
xdebug.profiler_enable_trigger=0 
xdebug.profiler_output_dir=/tmp/xdebug/debug 
xdebug.profiler_output_name=scriptprofile.out 

答えて

0

は、同様に、php.iniで(1)上に設定されhtml_errorsを持っていることを確認してください。これは、PHP 5.3でデフォルトでオフになっている何らかの奇妙な理由によるものです。 PHP 5.4では、デフォルトは再び(1)になります。

関連する問題