Xdebug + sublime text 2

Hi guys!

Maybe someone is using xdebug with sublime text 2 and have my issue.

I will describe situation:

I have xdebug extension for sublime text 2

My configuration inside /etc/php5/apache2/php.ini


xdebug.remote_enable = 1

xdebug.remote_host = "127.0.0.1"

xdebug.remote_port = 9000

xdebug.remote_handler = "dbgp"

xdebug.remote_mode = req

xdebug.remote_connect_back = 1

and my code is


    

//ajax validation listing

protected function ajaxValidation(Model $model, $additional = null)

    {

        if (Yii::$app->request->isAjax) {

            Yii::$app->response->format = Response::FORMAT_JSON;

            if ($additional instanceof Model) {

                // validating multiple models

                $models = func_get_args();

                $additional = null;

            } else {

                $models = [$model];

            }

            echo json_encode(call_user_func_array(ActiveForm::className().'::validate', $models));

            Yii::$app->end();

        }

    }


        if ($model->load(Yii::$app->request->post())) {//breakpoint#1 is here

            $this->ajaxValidation($model);

            

            if ($model->save()) {//breakpoint#2 is here

i know for sure, that xdebug is works, cause i can see stop on breakpoint#1, but after ajaxValidation it is no more working. i mean, i cant see break on breakpoint#2.

i doublechecked that in netbeans. netbeans can stop on breakpoint#1 and breakpoint#2.

I hope someone know solution. I opened for any additional questions.