IDEA debug 远程调试 Docker容器中的 PHP 安装 debug 扩展并配置 php.ini, 重启 php-fpm 使配置生效 kill -s USR2 1 1 2 3 4 5 6 7 8 9 10 11 [XDebug] xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" ; Set to host.docker.internal on Mac and Windows, otherwise, set to host real ip