Sublime Forum

How to ignore certain paths when using xdebug?

#1

I’m mostly coding PHP, and I use the Laravel framework. I just started trying xdebug (yep, late to the party), and it seems nice. However, I often find myself following the code in the framework itself, something I’m not interested in.

I started looking into settings for xdebug to see if one could ignore certain paths, and found this issue by Derick, the creator of xdebug: https://bugs.xdebug.org/view.php?id=901 Summary: He won’t add support for ignoring paths, and consider that to be a task for the IDE.

So I started looking at ST and the xdebug package, but I haven’t been able to find anything on how to add paths to ignore when debugging. How do all you xdebug users here do it? (This probably is applicable to everybody using PHP with a framework and aren’t overly interested in debugging the framework itself.)

0 Likes