alaa/magento2-firephp

Magento Fire PHP

v1.0.1 2021-02-08 01:50 UTC

This package is auto-updated.

Last update: 2024-03-08 08:30:46 UTC


README

A simple module for sending debug data to the browser console.

Installation

composer require alaa/magento2-firephp

and then enable the module

How to use

To use the module, a fire php browser plugin need to be installed FirePHP

consoleLog(string $message, array $context);

Just use the method with message and data array and they will be logged into the browser console.

By default, the method will not work on production mode unless intentionally enabled from the admin panel.

License

MIT