Eclipse Drupal XDebug断点不适用于.module

时间:2023-01-18 08:40:16

I have successfully configured Xdebug with Eclipse, and now I'm able to set breakpoints on the index.php file.

我已经使用Eclipse成功配置了Xdebug,现在我可以在index.php文件上设置断点。

When I set breakpoints other then index.php, file breakpoints don't work. If the file is in same folder, it stops on first line but breakpoints don't work after resume.

当我在index.php之外设置断点时,文件断点不起作用。如果文件位于同一文件夹中,则会在第一行停止,但在恢复后断点不起作用。

1 个解决方案

#1


1  

First : breakpoints are working with xdebug_break(); but not by placing through editor... Secondly: by removing path variable in php server configuration of eclipse

第一:断点正在使用xdebug_break();但不是通过编辑器放置...其次:通过删除eclipse的php服务器配置中的路径变量

Issue was resolved

问题已经解决

#1


1  

First : breakpoints are working with xdebug_break(); but not by placing through editor... Secondly: by removing path variable in php server configuration of eclipse

第一:断点正在使用xdebug_break();但不是通过编辑器放置...其次:通过删除eclipse的php服务器配置中的路径变量

Issue was resolved

问题已经解决