phpstorm+xdebug3

1.xdebug配置

[xdebug]
zend_extension="<path to xdebug extension>"
xdebug.idekey=PHPSTORM xdebug.mode=debug xdebug.client_host=127.0.0.1 xdebug.client_port="<the port (9003 by default) to which Xdebug connects>" xdebug.start_with_request=yes #配置自动跟踪调试

2.配置phpstrom监听端口与连接,与client_port一样。

image

3.配置Servers

image

 4.Run/Debug Configurations新增PHP Remote Debug

image

 

5.启动程序完事。

posted @ 2025-08-05 14:15  E7AE80E79086  阅读(3)  评论(0)    收藏  举报