Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clawrock/magento2-debug

Magento 2 Profiler
https://github.com/clawrock/magento2-debug

debug debugbar development magento magento2 performance profiler

Last synced: 3 months ago
JSON representation

Magento 2 Profiler

Awesome Lists containing this project

README

        

[![Packagist](https://img.shields.io/packagist/v/clawrock/magento2-debug.svg)](https://packagist.org/packages/clawrock/magento2-debug)
[![Packagist](https://img.shields.io/packagist/dt/clawrock/magento2-debug.svg)](https://packagist.org/packages/clawrock/magento2-debug)
[![Build Status](https://github.com/clawrock/magento2-debug/actions/workflows/ci.yaml/badge.svg)](https://github.com/clawrock/magento2-debug/actions)

# 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
- [Whoops error handler](http://filp.github.io/whoops/)

## Credits
- [Magento 1.x Web Profiler](https://github.com/ecoco/magento_profiler)
- [Symfony WebProfilerBundle](https://github.com/symfony/web-profiler-bundle)