Comments (18)
wsl2 如果出现如图提示
需要配置一个环境变量。直接在你 启动脚本的终端执行一下 set PHP_IDE_CONFIG=serverName="your server name"
或者 export PHP_IDE_CONFIG=serverName="your server name",另外我测试电脑重启后需要重复设置一遍。
servername 配置路径在phpstrom File/Languages/PHP/Servers 中。这里的 name 是你需要设置环境变量的 serverName。
from yasd.
我没用过wsl
。可能是remote_host
你得改改。
from yasd.
可以过来了
目录貌似映射不上
在本地找不到文件 '/mnt/d/WWW/hf20/test.php'。
要修复,请通过环境变量 PHP_IDE_CONFIG 设置服务器名称,然后重新启动调试会话。
from yasd.
可以过来了
目录貌似映射不上在本地找不到文件 '/mnt/d/WWW/hf20/test.php'。
要修复,请通过环境变量 PHP_IDE_CONFIG 设置服务器名称,然后重新启动调试会话。
你应该需要配置一下wsl
到windows
的文件映射。
from yasd.
phpstrom上设置了目录映射 ;
原来是sdebug是可以; 但是yasd没有生效
from yasd.
phpstrom上设置了目录映射 ;
原来是sdebug是可以; 但是yasd没有生效
那可能是有些问题了,我们后续修复下。
from yasd.
我想问问 我Remote SSH 连接到WSL中调试,然后在本机通过IP访问,这样的话我host该怎么配置呢?
from yasd.
https://vipkshttps12.wiz.cn/ks/note/view/5d13fa40-38f7-11eb-8567-bfa9bcfd962e/f6de6180-48bd-11eb-997b-7b3bfca43589/index_files/1609126651749-puf.png
能不能只监听我打断点的这个请求呢?
from yasd.
https://vipkshttps12.wiz.cn/ks/note/view/5d13fa40-38f7-11eb-8567-bfa9bcfd962e/f6de6180-48bd-11eb-997b-7b3bfca43589/index_files/1609126651749-puf.png
能不能只监听我打断点的这个请求呢?
看不了图片
from yasd.
https://vipkshttps12.wiz.cn/ks/note/view/5d13fa40-38f7-11eb-8567-bfa9bcfd962e/f6de6180-48bd-11eb-997b-7b3bfca43589/index_files/1609126651749-puf.png
能不能只监听我打断点的这个请求呢?看不了图片
这样能看到吗?现在就是监听了所有的请求,我只想监听了打了断点的那个请求
from yasd.
一个请求与vscode进行一次request,这应该是合理的。我不是很清楚你说的问题?
from yasd.
from yasd.
phpstrom上设置了目录映射 ;
原来是sdebug是可以; 但是yasd没有生效
我试了一下,我这里是可以从docker容器里面连接phpstorm调试的。方便加一个微信聊一下吗?我的微信codinghuang
from yasd.
请检查一下目录是否映射正确。我这边映射完后是可以调试的phpstrom上设置了目录映射 ;
原来是sdebug是可以; 但是yasd没有生效
from yasd.
感谢 成功了 , 这边需要设置linux环境变量
from yasd.
@jksusu 兄弟有联系方式吗,有点东西请教下
from yasd.
from yasd.
@jksusu 兄弟有联系方式吗,有点东西请教下
[email protected] 这个是邮箱 啥问题啊
from yasd.
Related Issues (20)
- 请问下怎么解决单元测试覆盖率问题 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
- 希望可以支持php7.1版本
- Mac M2pro 芯片 hyperf 添加断点提示 socket not writable HOT 1
- VS Code docker 环境 yasd HOT 3
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.