yii2-debug
yii2-debug copied to clipboard
List of queries in debug panel is empty when Connection::enableProfiling is false
What steps will reproduce the problem?
Set \yii\db\Connection::enableProfiling
to false and \yii\db\Connection::enableLogging
to true.
What's expected?
All SQL queries are displayed in debug panel as usual but with empty (or hidden) "Duration" column.
What do you get instead?
The list of SQL queries is empty.
Additional info
Q | A |
---|---|
Yii version | 2.0.48.1 |
Yii version | 2.1.23 |