(1)https://xdebug.org/download.php 下载当前Xampp对应的XDebug版本。

(2)将该dll放入C:\xampp\php\ext

(3)修改Control Panel php.ini

[XDebug]
zend_extension = "C:\xampp\php\ext\"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = on
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.remote_port = 9000

(4)配置PhpStrom Debug/Run Configuration (没什么特殊)

相关文章:

  • 2021-09-16
  • 2021-08-06
  • 2021-10-25
  • 2021-07-12
  • 2021-10-07
  • 2022-01-13
猜你喜欢
  • 2022-12-23
  • 2021-08-26
  • 2021-06-25
  • 2022-12-23
  • 2021-11-27
  • 2022-02-08
  • 2021-08-26
相关资源
相似解决方案