<p>Yup! Just turn on <a href="http://buildwithcraft.com/docs/config-settings#devMode">devMode</a> in your <a href="http://buildwithcraft.com/docs/config-settings">general config</a>:</p>

<pre class="lang-php prettyprint-override"><code>return array(
    'devMode' =&gt; true,
);
</code></pre>

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

CC BY-SA 3.0
2014-07-09T20:29:57.000Z
2014-07-09T20:38:18.483Z
2014-07-09T20:38:18.483Z
Peter Tell
<p>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.</p>

<p>Is this possible?</p>

<database>
How to profile Craft CMS
# How to profile Craft CMS

(Asked by: username_0 on 2014-07-09)

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?

**Tags:** database

---

## 1 answers

### Answer by username_1 on 2014-07-09. Score: 14 | Accepted answer

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.


---

