File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11IntelliJ IDEA / PhpStorm Hyperf Plugin
22========================
33
4- | Key | Value |
5- | ------------| -------------------------------------------- |
4+ | Key | Value |
5+ | ------------| -------------------------------------------|
66| Plugin Url | https://plugins.jetbrains.com/plugin/23007 |
7- | ID | io.maliboot.www.hyperf |
8- | Changelog | [ CHANGELOG] ( CHANGELOG.md ) |
7+ | ID | ` io.maliboot.www.hyperf ` |
8+ | Changelog | [ CHANGELOG] ( CHANGELOG.md ) |
99
1010About
1111---------------------
@@ -18,10 +18,11 @@ Install
1818
1919Feature
2020---------------------
21+ * ![ Debug Preview] ( doc/xdebug.png )
2122* Debug调试
2223 * 问题背景:hyperf的AOP会生成编译生成代理文件,如` app/IndexController.php ` 会生成` ./runtime/container/proxy/APP_IndexController.proxy.php ` 代理文件。当程序启动时,` IndexController.php ` 变成了模板文件不再参与程序运行,` APP_IndexController.proxy.php ` 成为了实际上真正运行的文件,所以当debug调试程序时所有的` 断点 ` 和` 堆栈列表日志 ` 都追溯到了代理文件内。
2324 * 解决方案:通过对比解析` 模板文件 ` 与` 代理文件 ` 的断点所在行与类方法Stmt所在行相差的偏移量,将所有代理文件的` 断点 ` 映射到` 模板文件 ` 内
24- * Lombok支持(Testing ):[ maliboot/lombok] ( https://github.com/maliboot/lombok ) 适配,解决该PHP扩展使用时编辑器没有自动补全、参数提示、错误语法高量、导航等功能
25+ * Lombok支持(Todo ):[ maliboot/lombok] ( https://github.com/maliboot/lombok ) 适配,解决该PHP扩展使用时编辑器没有自动补全、参数提示、错误语法高量、导航等功能
2526
2627Idea
2728---------------------
You can’t perform that action at this time.
0 commit comments