12

I would like to turn on a profiler in Craft CMS so I can see what DB queries are being run and how long they take.

Is this possible?

14

Yup! Just turn on devMode in your general config:

return array(
    'devMode' => true,
);

And then just open up a console (Firebug, Chrome, etc) and look in the profiling summary report.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.