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一样。

3.配置Servers

4.Run/Debug Configurations新增PHP Remote Debug

5.启动程序完事。

浙公网安备 33010602011771号