PHPStorm을 사용하여 Win10에서 Docker +deocker+Swoole+XDebug+Hyperf 개발/디버그

git clone [email protected]:swoole/sdebug.git -b sdebug_2_9 --depth=1

cd sdebug/

apk add php7-dev # 安装phpize

phpize

apk add gcc libc-dev make

./configure

make clean

make

make install

find / -name php.ini

vi /etc/php7/php.ini
###
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_host=localhost
xdebug.remote_port=8000
xdebug.idekey="xdebug"
###

php -m

php watch

참고:

Swoole이 단일 단계 디버깅을 위해 Xdebug를 사용하는 방법 - Nuggets

Windows 10에서 PHPStorm을 사용하여 Docker +deockerfile+Swoole + XDebug + Hyperf 개발/디버그 - Programmer Sought

핫 재시작:

hyperf-watch: go 언어를 기반으로 작성된 hyperf의 최신 업데이트는 github가 너무 느리기 때문에 기본적으로 작동하므로 모든 사람이 사용할 수 있도록 백업 복사본이 만들어집니다. -Gitee.com

Guess you like

Origin blog.csdn.net/cxs812760493/article/details/128716257