当前位置:网站首页>Summary of different configurations of PHP Xdebug 3 and xdebug2

Summary of different configurations of PHP Xdebug 3 and xdebug2

2022-07-06 20:29:00 billycoder

Xdebug 3 Many configuration settings have been deleted and changed . This section lists the deleted settings and their replacements .

xdebug.auto_trace #
Use xdebug.mode =trace and xdebug.start_with_request = yes.

xdebug.collect_includes #
have been deleted .include() and The name of the file require() Now it is always included in the development assistant and Function trace output .

xdebug.collect_params #
have been deleted . Now? , stay Development Helpers and Function Trace Parameters with variable contents and parameter names can always be seen in the output .

xdebug.collect_vars #
Removed , Only with xdebug_get_declared_vars() Functions are used in combination , Also removed .

xdebug.coverage_enable #
Use xdebug.mode = coverage.

xdebug.default_enable #
Use xdebug.mode = develop.

xdebug.extended_info #
There is no substitute .Xdebug It will automatically open this when necessary PHP Engine settings .

xdebug.gc_stats_enable #
Use xdebug.mode = gcstats.

xdebug.gc_stats_output_dir #
Use generic xdebug.output_dir Set up .

xdebug.overload_var_dump #
have been deleted .PHPvar_dump() Now always pass xdebug_var_dump() When xdebug.mode Set to develop. xdebug_var_dump () Function availability is independent of the configured mode .

xdebug.profiler_enable #
Use xdebug.mode = profile.

xdebug.profiler_enable_trigger #
Use xdebug.mode =profile and xdebug.start_with_request = trigger.

xdebug.profiler_enable_trigger_value #
Use generic xdebug.trigger_value Set up .

xdebug.profiler_output_dir #
Use generic xdebug.output_dir Set up .

xdebug.remote_addr_header #
Replace with xdebug.client_discovery_header.

xdebug.remote_autostart #
Use xdebug.mode =debug and xdebug.start_with_request = yes.

xdebug.remote_connect_back #
Replace with xdebug.discover_client_host.

xdebug.remote_enable #
Use xdebug.mode = debug.

xdebug.remote_handler #
There is no substitute .Xdebug The stepping debugger of only supports DBGp The handler .

xdebug.remote_host #
Replace with xdebug.client_host.

xdebug.remote_log #
from xdebug.log replace , It also includes the addition of Step Debugging Log messages other than .

xdebug.remote_log_level #
Replace with xdebug.log_level.

xdebug.remote_mode #
about req value ( Original default ), Use xdebug.mode =debug and xdebug.start_with_request = trigger. If original xdebug.remote_autostart Behavior , Please use xdebug.start_with_request =yes instead of trigger.

For this jit value , Please use xdebug.mode =debug and xdebug.start_upon_error = yes.

xdebug.remote_port #
Replace with xdebug.client_port.

The default value is also from change 9000 by 9003.

xdebug.remote_timeout #
Replace with xdebug.connect_timeout_ms.

xdebug.show_mem_delta #
have been deleted . You can calculate the difference in memory usage by comparing the usage of the current frame with that of the previous frame .

xdebug.trace_output_dir #
Use generic xdebug.output_dir Set up .

xdebug.trace_enable_trigger #
Use xdebug.mode =trace and xdebug.start_with_request = trigger.

xdebug.trace_enable_trigger_value #
Use generic xdebug.trigger_value Set up .

原网站

版权声明
本文为[billycoder]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131211545867.html