Comments (16)
FPM的项目能使用yasd调试吗?
理论上是可用的
from yasd.
我搭配vscode使用,除錯fpm項目似乎偵測不到斷點。如果我先用xdebug除錯,停用xdebug,再啟用yasd除錯才找的到斷點。重新啟動fpm之後yasd就找不到斷點。
最後還是切回xdebug除錯 XD
from yasd.
我搭配vscode使用,除錯fpm項目似乎偵測不到斷點。如果我先用xdebug除錯,停用xdebug,再啟用yasd除錯才找的到斷點。重新啟動fpm之後yasd就找不到斷點。
最後還是切回xdebug除錯 XD
我们会在v0.3.0
版本对FPM
进行兼容。
from yasd.
@jobinli 你好,你可以尝试一下support-fpm
分支,看看FPM
下是否可以调试。
from yasd.
@jobinli 你好,你可以尝试一下
support-fpm
分支,看看FPM
下是否可以调试。
你好,测试了下,没响应断点。
xdebug 下开启了 xdebug.start_with_request
能正常响应。是否缺少类似的配置或者需要配置个 xdebug_session 之类的才能触发?
from yasd.
你试一试php -S
启动服务呢?
from yasd.
php -S 127.0.0.1:9000 test.php
,启动,也是不响应。
php -e -S 127.0.0.1:9000 test.php
,启动,请求时候报错
PHP 7.2.34-8+ubuntu18.04.1+deb.sury.org+1 Development Server started at Fri Dec 25 18:15:07 2020
Listening on http://127.0.0.1:9090
Document root is /var/www/html/test
Press Ctrl-C to quit.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
[1] 11465 abort (core dumped) php -e -S 127.0.0.1:9090 test.php
from yasd.
这样试试:
php -e -S 127.0.0.1:9501 -t .
from yasd.
这样试试:
php -e -S 127.0.0.1:9501 -t .
from yasd.
好吧,我修修bug
。
from yasd.
@jobinli 你好,php -S 127.0.0.1:9000 test.php
的方式应该是可以了,你再试试?
from yasd.
试试support-fpm
分支最新的代码?应该是可以在FPM
下调试了。
from yasd.
你好,php -S 127.0.0.1:9090 test.php
方式成功。经过nginx代理后 fpm
下还不响应断点。打印出的脚本路径也是没问题对应的了。
from yasd.
你好,tcpdump 在nginx代理形式下没有包抓到。 php -S
形式下能抓到。感觉似乎没触发到 yasd。
from yasd.
你再更新下support-fpm
分支试试
from yasd.
已解决
from yasd.
Related Issues (20)
- wsl2 ubuntu20.04 环境下 yasd 调试异常 HOT 9
- using Yasd widh curl or requests form browser / PHPStorm HOT 1
- 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
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.