phpxdebugxdebug-profiler

How do I get stack_trace from Xdebug and build on top of it?


I'm trying to figure out if there is a way to get stack_trace info from Xdebug similar to how an IDE like PhpStorm or NetBeans is getting it to store it and process it further.

Any help much appreciated.


Solution

  • You can configure (in your php.ini file) Xdebug to log trace into a file with xdebug.trace_output_XXX stuff. See Xdebug docs for more information about how to fine tune your export and format output.