xdebug 配置,在这里备份下
似乎也没啥好备份的,下次方便点吧。
[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
建议继续学习:
- Xdebug使用指南 (阅读:3248)
- xdebug: var_dump函数设置 (阅读:2527)
- Ubuntu 下为 PHP 添加 Xdebug 插件 (阅读:2375)
- 使用xdebug调试PHP 找出PHP程序的瓶颈 (阅读:2257)
- 前端开发中的性能那点事(一)巧用xdebug (阅读:2053)
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:kanwairen.z 来源: 铭扬工作室Blog
- 标签: xdebug
- 发布时间:2009-11-12 00:03:33
- [54] IOS安全–浅谈关于IOS加固的几种方法
- [52] android 开发入门
- [52] 如何拿下简短的域名
- [51] 图书馆的世界纪录
- [49] Go Reflect 性能
- [49] Oracle MTS模式下 进程地址与会话信
- [47] 【社会化设计】自我(self)部分――欢迎区
- [46] 读书笔记-壹百度:百度十年千倍的29条法则
- [35] 程序员技术练级攻略
- [27] 视觉调整-设计师 vs. 逻辑