Home >Backend Development >PHP Tutorial >Can Yii2's debug toolbar only monitor ajax requests?
Can the debugging toolbar of yii2 only monitor ajax requests?
For example, a form I submitted is an ajax request, and the server returns me json data after a series of processing including database queries and other operations.
I want to view the sql operated by this ajax request through the debug toolbar. What should I do if I encounter errors?
I only know now that the debug toolbar can only monitor each request to refresh the page. Is it impossible to monitor if the page does not refresh?
Can the debugging toolbar of yii2 only monitor ajax requests?
For example, a form I submitted is an ajax request, and the server returns me json data after a series of processing including database queries and other operations.
I want to view the sql operated by this ajax request through the debug toolbar. What should I do if I encounter errors?
I only know now that the debug toolbar can only monitor each request to refresh the page. Is it impossible to monitor if the page does not refresh?
Understood, you can see the ajax request data by directly accessing "domain name/debug/default/index" after requesting