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使用指南 (阅读:3206)
- xdebug: var_dump函数设置 (阅读:2490)
- Ubuntu 下为 PHP 添加 Xdebug 插件 (阅读:2328)
- 使用xdebug调试PHP 找出PHP程序的瓶颈 (阅读:2210)
- 前端开发中的性能那点事(一)巧用xdebug (阅读:2015)
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:kanwairen.z 来源: 铭扬工作室Blog
- 标签: xdebug
- 发布时间:2009-11-12 00:03:33
- [174] 招聘技巧一二
- [15] Linux常用系统信息查看命令
- [13] 最近总结的一些技巧(vim,python,s
- [12] 关于Linux的文件系统cache
- [12] Redis和Memcached的区别
- [12] 在FreeNAS/BSD搭建基于Nginx+
- [11] 个人开公司的流程,以后用得着
- [10] 我对技术方向的一些反思
- [10] Nginx+FastCgi+Php 的工作机
- [10] 每个程序员都应该知道的8个Linux命令