JordyvD
JordyvD

Reputation: 1615

Xdebug profiler not writing files

I'm using MAMP, and I have xdebug enabled in the extensions tab. Debugging works fine, but the profiler doesn't write to any files.

php.ini

[xdebug]
;zend_extension="/Applications/MAMP/bin/php/php7.0.20/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"
xdebug.profiler_enable = 0;
xdebug.profiler_enable_trigger = 1;
xdebug.profiler_output_dir = "/Users/jordyvandomselaar/workspace/xdebug/profiler/snapshots"

I have the xdebug extension, and it's toggle on "profiler". I've chmodded the output folder to 777 to be sure it's not a permission issue.

Anything I missed?

Upvotes: 1

Views: 1653

Answers (1)

user24525
user24525

Reputation: 451

if this your actual configuration is, then you deactivated the extension with the semicolon at the beginning of this line:

;zend_extension="/Applications/MAMP/bin/php/php7.0.20/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"

remove the starting semicolon and restart your apache server

Upvotes: 2

Related Questions