V
V
Vladislav2022-02-10 14:40:58
PHP
Vladislav, 2022-02-10 14:40:58

Xdebug & Yii2 start with breakpoint?

I set up xDebug myself, everything seems to be working fine, but this situation is not pleasant at all.
In Yii2, I put Breakpoint on the controller in the action and refresh the page.
The debugger works, but it doesn’t start from my point where I put it, but straight from web/index.php
And in order for it to go to my point, you need to press Resume Program (F9)
Is it possible to skip where there is no breakpoint ?
So that it immediately starts from the controller

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sl0, 2022-02-10
@sl0

There is a possibility. It is necessary to uncheck Break at first line in PHP scritps.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question