( 1 )下载php 对应版本 xdebug扩展,自行百度安装好
( 2 ) php.ini 增加以下配置 ;
xdebug.zend_extension=/usr/local/lib/php/pecl/20170718/xdebug.so
xdebug.remote_enable=true
xdebug.remote_autostart=1
xdebug.remote_handler = “dbgp”
xdebug.idekey = PHPSTORM
xdebug.remote_host = “127.0.0.1”
xdebug.remote_port = 9001
xdebug.auto_trace=1
( 3 ) 配置 phpstorm

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

插件名字是: Xdebug helper 和 JetBrains Ide Support

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

phpstorm for mac 安装 xdebug

ok,打开断电试试

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2021-09-10
  • 2021-04-08
  • 2021-11-21
  • 2022-02-05
猜你喜欢
  • 2021-06-24
  • 2021-08-21
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案