Comments (5)
Thanks for your feedback, I will support the domain name in the next version.
from yasd.
You should use IP
instead of host.docker.internal
.
from yasd.
You should use
IP
instead ofhost.docker.internal
.
Oh, okay. Afaik the internal IP of the Docker host is not static.
from yasd.
Hi, we can use debug init file to set the remote_host
. #98 #97
from yasd.
@huanghantao @intellent which ip should I use inside a docker? host.docker.internal, 127.0.0.1, 0.0.0.0 not working for me
host.docker.internal shows me error - [yasd] recv command error, connection closed
but 127.0.0.1, 0.0.0.0 - [yasd] Connect IDE failed (Connection refused), please check that the IDE is in a listening state
could you help me please?
FROM hyperf/hyperf:8.0-alpine-v3.15-swoole
RUN set -ex \
&& apk add $PHPIZE_DEPS \
openssl-dev \
boost-dev \
&& ln -sf /usr/bin/phpize8 /usr/local/bin/phpize \
&& ln -sf /usr/bin/php-config8 /usr/local/bin/php-config
RUN git clone https://github.com/swoole/yasd.git \
&& cd yasd \
&& phpize --clean \
&& phpize \
&& ./configure \
&& make clean \
&& make \
&& make install
RUN echo "extension=yasd.so" > /etc/php8/conf.d/50_yasd.ini \
&& echo "yasd.debug_mode=remote" >> /etc/php8/conf.d/50_yasd.ini \
&& echo "yasd.remote_host=host.docker.internal" >> /etc/php8/conf.d/50_yasd.ini \
&& echo "yasd.remote_port=9000" >> /etc/php8/conf.d/50_yasd.ini
WORKDIR /data/project
COPY entrypoint.sh /scripts/entrypoint.sh
RUN chmod +x /scripts/entrypoint.sh
ENTRYPOINT ["/scripts/entrypoint.sh"]
Hyperf 2.2 scan_cacheable=true
from yasd.
Related Issues (20)
- View private properties of parent class will crashed HOT 2
- macos(M1X) + yasd + hyperf debug报错 HOT 5
- Undefined constant "request" HOT 3
- 请问下怎么解决单元测试覆盖率问题 HOT 5
- "php -e" debug with VsCode and Docker Alpine error "Segmentation fault" HOT 1
- Can not check the value of static variables in a class HOT 1
- M2 编译失败(M2 Compilation fails) HOT 9
- 能够进入,但是执行下一步,就会报这个错误。php代码没问题。 HOT 15
- Undefined constant "this" in yasd://debug-eval:1 HOT 5
- 大佬 这个报错啥原因呢 HOT 1
- It's not possible to compile in the php:8.1-cli-alpine3.17 HOT 1
- centos7 php7.2下编译失败
- output:Segmentation fault HOT 10
- There is an error in the compilation(make) HOT 3
- mark error ( errors generated. make: *** [src/remote_debugger.lo] Error 1 ) HOT 2
- make test 失败率90% ,php -e 报Segmentation fault 安装完后不能正常使用。 HOT 2
- centos7编译安装成功,配置文件也已加上扩展,但是php --ri yasd没有相关信息 HOT 1
- 我用sdebug时可以将hyperf断点停在vendor的Server.php中的sortServers函数里,但是使用yasd不行,是我哪里配置不对吗? HOT 2
- centos7系统下php8.2.4 make 报错 HOT 1
- 'zend_string *' (aka '_zend_string *') from 'char *' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yasd.