/magento2-debug

Magento 2 Profiler

Primary LanguagePHP

Packagist Packagist Build Status

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

  1. Enable developer mode php bin/magento deploy:mode:set developer
  2. Install module via composer composer require clawrock/magento2-debug
  3. Register module php bin/magento setup:upgrade
  4. Enable profiler in configuration: Stores -> Configuration -> Advanced -> Debug
  5. 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

Additional features

Credits