Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 9 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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