开发者

How to config eclipse debug to follow classes-(php files) used?

开发者 https://www.devze.com 2023-04-04 21:44 出处:网络
if you want to follow the classes loaded (to be more specific php classes) from a开发者_运维问答 debug method, what is the way to do that.

if you want to follow the classes loaded (to be more specific php classes) from a开发者_运维问答 debug method, what is the way to do that.

I use Xdebug and lets say we have the following example:

One html file with a form inside it and one php file referenced by the previous .

How to config XDEBUG to automatically (without manual inserting of breakpoints) stop add every class(php file referenced-used). So in our case to stop on the first line of the php file without setting a breakpoint there.


I don't use eclipse for PHP, but in menu, there is Run -> Add class load breakpoint and then you specify class filter and it works for Java, so I suppose there will be something similar for PHP.

0

精彩评论

暂无评论...
验证码 换一张
取 消