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?

1 Answer 1


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.

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.