init
This commit is contained in:
23
docker/php/xdebug.ini
Normal file
23
docker/php/xdebug.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
; Xdebug 配置
|
||||
zend_extension=xdebug.so
|
||||
|
||||
; 基本配置
|
||||
xdebug.mode=debug,develop
|
||||
xdebug.start_with_request=yes
|
||||
xdebug.discover_client_host=false
|
||||
|
||||
; 远程调试配置
|
||||
xdebug.client_host=host.docker.internal
|
||||
xdebug.client_port=9003
|
||||
xdebug.idekey=VSCODE
|
||||
|
||||
; 日志配置(调试时开启)
|
||||
xdebug.log=/tmp/xdebug.log
|
||||
xdebug.log_level=7
|
||||
|
||||
; 性能分析(可选)
|
||||
; xdebug.mode=profile
|
||||
; xdebug.output_dir=/tmp/profiler
|
||||
|
||||
; 路径映射(在 VSCode 中配置更灵活)
|
||||
xdebug.remote_connect_back=0
|
||||
Reference in New Issue
Block a user