连续复制
一键复制
一键打包

xdebug 配置

php.ini

[xdebug]
xdebug.remote_enable=On
xdebug.remote_autostart=Off
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.1.105 (开发环境地址)
xdebug.remote_port=10010 (开发环境端口)
xdebug.idekey=PHPSTORM

phpstorm 配置

Break at first line in PHP Scripts Off 禁用 不然调试一直弹出
Languages Frameworks -> php -> debug -> xdebug prot 10010
Languages Frameworks -> php -> debug -> xdebug -> DBGp Proxy
# DBGp Proxy
key:PHPSTORM
host:ti001.lan.baidu120.cc
port:10010

Languages Frameworks -> php -> debug -> xdebug -> servers

# xdebug -> servers
name:ti001.lan.baidu120.cc 访问域名
host:ti001.lan.baidu120.cc 访问域名
port:80 域名端口号
use maping path D:\docker.dev\www\dev.ti001.com /www/wwwroot/dev.ti001.com

Edit configurations -> php remote debug

# Edit configurations -> php remote debug
name:ti001.lan.baidu120.cc
On filter debug connection by ide key
server:ti001.lan.baidu120.cc
IDE key: PHPSTORM

postman 配置

Cookie:XDEBUG_SESSION=PHPSTORM;