技术头条 - 一个快速在微博传播文章的方式     搜索本站
您现在的位置首页 --> PHP --> xdebug 配置,在这里备份下

xdebug 配置,在这里备份下

浏览:2374次  出处信息

    似乎也没啥好备份的,下次方便点吧。

    [Xdebug]

    ; Type: boolean, Default value: On. If this setting is On then stacktraces will be shown by default on an error event.

    xdebug.default_enable=on

    ; superglobals is shown when an error situation occurs.

    ; xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD

    ; Type: boolean, Default value: 1. Controls whether the values of the superglobals as defined by the xdebug.dump.* settings whould be shown or not.

    xdebug.dump_globals=1

    ; Type: integer, Default value: 1. Controls whether Xdebug should enforce ‘extended_info’ mode for the PHP parser; this allows Xdebug to do file/line breakpoints with the remote debugger.

    xdebug.extended_info=1

    ; Type: string, Default value: http://www.php.net. This is the base url for the links from the function traces and error message to the manual pages of the function from the message.

    xdebug.manual_url=http://www.php.net

    ; Type: integer, Default value: 100. Controls the protection mechanism for infinite recursion protection.

    xdebug.max_nesting_level=100

    ; Type: boolean, Default value: 1.

    xdebug.overload_var_dump

    ; Type: integer, Default value: 0. When this setting is set to 1, profiler files will not be overwritten when a new request would map to the same file

    xdebug.profiler_append=0

    ; Type: integer, Default value: 0. Enables Xdebug’s profiler which creates files in the profile output directory. Those files can be read by KCacheGrind to visualize your data.

    xdebug.profiler_enable=1

    ; Type: integer, Default value: 0. When this setting is set to 1, you can trigger the generation of profiler files by using the XDEBUG_PROFILE GET/POST parameter, or send a cookie

    xdebug.profiler_enable_trigger=0

    ; Type: string, Default value: /tmp. The directory where the profiler output will be written to

    xdebug.profiler_output_dir=”E:/amp/log_and_tmp/php_xdebug_profile”

    ; Type: string, Default value: cachegrind.out.%p

    ; This setting determines the name of the file that is used to dump traces into. The setting specifies the format with format specifiers, very similar to sprintf().

    ; Specifier Format Example-Filename Meaning

    ; %c trace.%c trace.1258863198.xt crc32 of the current working directory

    ; %p trace.%p trace.5174.xt pid

    ; %r trace.%r trace.072db0.xt random number

    ; %s cachegrind.out.%s cachegrind.out._home_httpd_html_test_xdebug_test_php script name(this one is not available for trace file names)

    ; %t trace.%t trace.1179434742.xt timestamp (seconds)

    ; %u trace.%u trace.1179434749_642382.xt timestamp (microseconds)

    ; %H trace.%H trace.kossu.xt $_SERVER[\'HTTP_HOST\']

    ; %R trace.%R trace._test_xdebug_test_php_var=1_var2=2.xt $_SERVER[\'REQUEST_URI\']

    ; %S trace.%S trace.c70c1ec2375af58f74b390bbdd2a679d.xt session_id (from $_COOKIE if set)

    ; %% trace.%% trace.%%.xt literal %

    xdebug.profiler_output_name=ptrace.%s.%r.out.xt

    ; Type: boolean, Default value: 0

    xdebug.remote_enable=0

    ; Type: integer, Default value: 0

    ; When this setting is set to 1, Xdebug will show a stack trace whenever an exception is raised - even if this exception is actually caught.

    xdebug.show_exception_trace=0

    ; Type: integer, Default value: 0

    ; When set to ‘1′ the trace files will be appended to, instead of being overwritten in subsequent requests.

    xdebug.trace_options=0

    ; Type: string, Default value: /tmp

    ; The directory where the tracing files will be written to, make sure that the user who the PHP will be running as has write permissions to that directory.

    xdebug.trace_output_dir=”E:/amp/log_and_tmp/php_xdebug_profile”

    ; Type: string, Default value: trace.%c

    xdebug.trace_output_name=trace.%s.%r.out.xt

建议继续学习:

  1. Xdebug使用指南    (阅读:3247)
  2. xdebug: var_dump函数设置    (阅读:2527)
  3. Ubuntu 下为 PHP 添加 Xdebug 插件    (阅读:2373)
  4. 使用xdebug调试PHP 找出PHP程序的瓶颈    (阅读:2256)
  5. 前端开发中的性能那点事(一)巧用xdebug    (阅读:2052)
QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习
© 2009 - 2024 by blogread.cn 微博:@IT技术博客大学习

京ICP备15002552号-1