1,下载安装包

安装包地址

2,配置

注意,下载安装包是注意查看自己系统是64位还是32位。

在php.ini文件里面最后配置如下:

;zend_extension="D:\phpStudy\PHPTutorial\php\php-7.2.1-nts\php_xdebug-2.6.0-7.2-vc15-nts-x86_64.dll"
zend_extension="D:\phpStudy\PHPTutorial\php\php-7.2.1-nts\php_xdebug-2.6.0-7.2-vc15-nts.dll"

xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_autostart = 1
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9060
xdebug.idekey = phpstorm
3, 设置phpstrom

windows环境配置xdebugwindows环境配置xdebugwindows环境配置xdebug

4,如果使用phpstudy请勾选xdebug

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
  • 2021-09-10
  • 2021-08-09
  • 2022-12-23
  • 2021-10-13
  • 2021-07-23
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-05-14
  • 2021-04-29
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案