Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] WARNING Server::check_worker_exit_status(): worker(pid=1892, id=4) abnormal exit, status=0, signal=10 #6571

Open
pizsd opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pizsd
Copy link

pizsd commented Mar 6, 2024

Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole

Darwin MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:17:35 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8112 arm64
PHP 8.1.27 (cli) (built: Dec 19 2023 20:35:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.27, Copyright (c) Zend Technologies
    with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans
    with Zend OPcache v8.1.27, Copyright (c), by Zend Technologies
Composer could not find a composer.json file in /Users/xxx/php
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

Description:

使用xdebug断点时,会出现如标题错误,断点停止了,不进入调试模式可以正常响应

[xdebug]
zend_extension="xdebug.so"
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.idekey=PHPSTORM
xdebug.collect_return=1
xdebug.output_dir = /tmp
xdebug.start_with_request = yes

运行命令:
/usr/local/Cellar/php@8.1/8.1.27/bin/php -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 /work/bin/hyperf.php start

@pizsd pizsd added the bug Something isn't working label Mar 6, 2024
@NathanFreeman
Copy link

我稍后测试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants