xdebug.var_display_max_depth
Xdebug2.0.0RC1を使っていて、再帰的なデータ構造が2階層目までしか表示されない。何でかな〜と思っていると、php.iniに
xdebug.var_display_max_depth=2
という設定が。。。こんなのやったっけ?と思い調べると、RC1のChangelogにしっかりと記載が。。。
確かに
- Partially implemented FR #50: Resource limiting for variable display. By default only two levels of nested variables and max string lengths of 512 are shown. This can be changed by setting the ini settings
xdebug.var_display_max_depth and xdebug.var_display_max_data.
xdebug.var_display_max_data=102400 xdebug.var_display_max_depth=100
とすると、それなりに表示されたので良しとするも、一体いつこの設定やったんだろ?
ちなみに、Xdebug2.0.0RC1のini設定項目は次のように大量です。。。
- xdebug.auto_trace
- xdebug.trace_output_dir
- xdebug.trace_output_name
- xdebug.trace_format
- xdebug.trace_options
- xdebug.trace_format
- xdebug.trace_options
- xdebug.collect_includes
- xdebug.collect_params
- xdebug.collect_return
- xdebug.collect_vars
- xdebug.default_enable
- xdebug.extended_info
- xdebug.manual_url
- xdebug.max_nesting_level
- xdebug.show_exception_trace
- xdebug.show_local_vars
- xdebug.show_mem_delta
- xdebug.dump.COOKIE
- xdebug.dump.ENV
- xdebug.dump.FILES
- xdebug.dump.GET
- xdebug.dump.POST
- xdebug.dump.REQUEST
- xdebug.dump.SERVER
- xdebug.dump.SESSION
- xdebug.dump_globals
- xdebug.dump_once
- xdebug.dump_undefined
- xdebug.profiler_enable
- xdebug.profiler_output_dir
- xdebug.profiler_output_name
- xdebug.profiler_enable_trigger
- xdebug.profiler_append
- xdebug.profiler_aggregate
- xdebug.remote_enable
- xdebug.remote_handler
- xdebug.remote_host
- xdebug.remote_mode
- xdebug.remote_port
- xdebug.remote_autostart
- xdebug.remote_log
- xdebug.allowed_clients
- xdebug.idekey
- xdebug.var_display_max_data
- xdebug.var_display_max_depth