clawrock / magento2-debug
Magento 2 debug module based on Magento 1 Profiler with some extra features.
Installs: 11 683
Dependents: 0
Suggesters: 0
Security: 0
Stars: 69
Watchers: 10
Forks: 32
Open Issues: 2
Type:magento2-module
Requires
- php: >=7.4
- filp/whoops: ^2.1
- jdorn/sql-formatter: ^1.2
- magento/framework: ~103.0
- magento/module-backend: ~102.0
- magento/module-developer: ^100.4
- symfony/stopwatch: ^2.8 || ^3.0 || ^4.0 || ^5.0
- symfony/var-dumper: *
Requires (Dev)
- bitexpert/phpstan-magento: ^0.28.0
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.1
- magento/magento-coding-standard: *
- phpcompatibility/php-compatibility: ^9.3
- phpmd/phpmd: ^2.9.1
- phpstan/phpstan: ~1.9.0
- phpstan/phpstan-phpunit: ^1.1.1
- phpunit/phpunit: ~9.5.0
- sebastian/phpcpd: ^6.0.3
- slevomat/coding-standard: ~6.4.1
- squizlabs/php_codesniffer: ~3.6.0
README
Magento 2 - Debug module
Module for debugging Magento 2 performance. It works without overwriting any core files and it can be installed with composer.
Installation
- Enable developer mode
php bin/magento deploy:mode:set developer
- Install module via composer
composer require clawrock/magento2-debug
- Register module
php bin/magento setup:upgrade
- Enable profiler in configuration:
Stores -> Configuration -> Advanced -> Debug
- Enable DB profiler
php bin/magento debug:db-profiler:enable
Configuration
All settings have only default scope and config type pool is set to environment for better integration with php bin/magento app:config:dump
Compatibility
- Magento >= 2.4.4
- PHP 8.1, 8.2
Profiler collectors
- Ajax
- Cache
- Config
- Customer
- Database
- Events
- Layout
- Memory
- Models
- Plugins
- Request/Response
- Performance
- Translations