How to use Yii2 debugger when developing RESTful application?
<p>Like in the guide, I have created RESTful controller UserController.</p>

<pre><code>namespace app\controllers;

use yii\rest\ActiveController;

class UserController extends ActiveController
{
    public $modelClass = 'app\models\User';
}
</code></pre>

<p>And when I make request <code>GET /users</code>, it works.</p>

<p>But I have no idea what queries does Yii2 execute behind the scene, and I do not know how long do they last. </p>

<p>Can I somehow use Yii2 debugger to debug and profile queries ? If not, what is the alternative for this ?</p>