Skip to content

What is the proper way to get full stack trace of classes/methods that runs on a page?

I have my dev environment with VSCode, Docker, WSL and Xdebug enabled and I can set breakpoints to evaluate all objects that I want on runtime, but sometimes I need to just obtain which classes are called on certain things on the frontend, for instance, the controller class of the search suggestions when you type any search term on the search bar but not pressing Enter…

Is that possible? I think it’s possible setting Xdebug in profile mode and also the Xdebug helper extension on Chrome in profile too but after do that, it just don’t trace anything…

Any ideas? or is there anything that I’m missing?

Appreciate your help!