Step filter to skip files
PHP version: v7.2.6 XDebug version: v2.6.0
Hello,
Is it possible to skip certain files when stepping over? It seems the ignore option is only for ignoring errors.
https://bugs.xdebug.org/view.php?id=901#bugnotes
Here's the equivalent on PHPStorm: https://www.jetbrains.com/help/phpstorm/step-filters.html
I need, Step Into to skip files outside of project, and step into next line of code inside of the open project. Or implement a new Step Into button.
When debugging WordPress plugin, if we click jump into it jumps into WordPress core function do_action or apply_filters, which is hard to navigate. What do I expect is to ignore the core function and jump into registered action or filter directly.
This would be very useful, e.g. to ignore autoload when stepping into a function call.
The issue is not that straight forward. If I want to solve this in the extension code, I would need to perform a "step in", check the path and again perform a "step in" until I landed on a path that is not ignored. The concept is called justMyCode (https://code.visualstudio.com/docs/python/debugging#_justmycode) . I have this feature in mind, but will discuss it with Derick first what the best option for it could be.
Any news on the subject ?
No sorry, not yet. There is still no feasible way to implement this and I'm currently dealing with cloud support.
Implemented in #874 . Will be merged and released shortly.