不说废话,直接开始。php
第一步: 安装并配置xdebugphpstorm
zend_extension="xxxxx" // xdebug地址ide
xdebug.remote_enable = Ondebug
xdebug.remote_connect_back = 1orm
xdebug.remote_host= client_ip_address // 客户端ip地址ip
xdebug.remote_port = 9000 // 端口号,phpstorm中默认为9000,这里须要和客户端端口号对应rem
xdebug.idekey = PHPSTORM // 这里须要和客户端配置一致it
第二步:配置phpstormio
3、设置断点 and enjoy it !cli