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

https://github.com/alaa-almaliki/magento2-firephp

Magento FirePHP
https://github.com/alaa-almaliki/magento2-firephp

firephp magento2 magento2-module

Last synced: about 1 month ago
JSON representation

Magento FirePHP

Awesome Lists containing this project

README

          

# Magento 2 Fire PHP Module

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](https://chrome.google.com/webstore/detail/firephp-official/ikfbpappjhegehjflebknjbhdocbgkdi/related?hl=en)

```
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