Yireo_QueryDebugger

PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
License OSL-3.0
Latest Release none

This Magento 2 module purposefully forces the second argument $logQuery of a collection its load($printQuery = false, $logQuery = false) method to be always true (so $logQuery = true). This logs any query related to collections to the var/log/debug.log file. Use with care.

Current status

Magento 2 DI compilation success
Magento 2 Unit Tests success
Magento 2 Static Tests success
Magento 2 Integration Tests success
Playwright test success
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_QueryDebugger

Composer details
Magento module name
Yireo_QueryDebugger
Composer name
yireo/module-query-debugger
Composer version
No release yet
Default branch
master
Requirements
magento/framework: ^103.0
php: >=8.2 <8.6
Releases
Changelog

Last modified: October 17, 2026