---
title: "配置xdebug"
author: "conkeyn"
date: "2010-08-10T09:19:23Z"
tags: []
categories: ["编程语言"]
slug: "xdebug"
draft: false
lastmod: "2010-08-10T09:19:42Z"
id: 733413
url: "https://conkeyn.iteye.com/blog/733413"
---

```
zend_extension = "D:/xampp/php/ext/php_xdebug.dll"

[Xdebug]
xdebug.profiler_enable=On
xdebug.trace_output_dir="D:/xampp/apache/logs"
xdebug.profiler_output_dir="D:/xampp/apache/logs"
xdebug.remote_enable= On
xdebug.remote_handler= dbgp
xdebug.remote_host= localhost
xdebug.remote_port= 9000


;开启自动跟踪  
xdebug.auto_trace = On  
;开启异常跟踪  
xdebug.show_exception_trace = On  
;开启远程调试
;开启远程调试自动启动  
xdebug.remote_autostart=On  
;收集变量  
xdebug.collect_vars = On  
;收集返回值  
xdebug.collect_return = On
;收集参数  
xdebug.collect_params = On 
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Asia/Shanghai"

; http://php.net/date.default-latitude
date.default_latitude = 31.5167


; http://php.net/date.default-longitude
date.default_longitude = 121.4500
```