Reputation: 21
How to enable all features on Xdebug? Xdebug has six features and only one feature is active in my Xdebug. I've read the Xdebug documentation but still don't get it. Thank you.
Upvotes: 2
Views: 1634
Reputation: 420
Hi,
you can enable Xdebug features through properly setting xdebug.mode
in your PHP configuration file.
If you want to enable all Xdebug features you should listed all features identifiers separating them with comma as xdebug.mode
value.
Simply add the following line
xdebug.mode=develop,coverage,debug,gcstats,profile,trace
in your current php.ini file.
You can enable one or more modes through one command or also disable all features. Which feature has which identifier and also all other information you can find in Xdebug all setting documentation here in mode part.
Having faced a similar problem myself, I couldn't find a complete answer to it, so after solving the issue, I wrote this answer. I hope that will be helpful also for someone else.
Cheers
Upvotes: 1
Reputation: 43441
From documentation:
You can enable multiple modes at the same time by comma separating their identifiers as value to xdebug.mode:
xdebug.mode=develop,trace
.
Upvotes: 3