Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-09T20:29:57.000Z
Answers.LastActivityDate: 2014-07-09T20:38:18.483Z
Answers.LastEditDate: 2014-07-09T20:38:18.483Z
Answers.UserDisplayName: Peter Tell
Body: <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>
  
Tags: <database>
Title: How to profile Craft CMS
ThreadText: # 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](http://buildwithcraft.com/docs/config-settings#devMode) in your [general config](http://buildwithcraft.com/docs/config-settings):
  
  ```php
  return array(
      'devMode' => true,
  );
  
  ```
  
  And then just open up a console (Firebug, Chrome, etc) and look in the profiling summary report.
  
  
  ---
  
  