Download the PHP package dneustadt/dn-state-manager-debug without Composer
On this page you can find all versions of the php package dneustadt/dn-state-manager-debug. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dneustadt/dn-state-manager-debug
More information about dneustadt/dn-state-manager-debug
Files in dneustadt/dn-state-manager-debug
Package dn-state-manager-debug
Short Description Shopware plugin featuring a Javascript console debug tool for the StateManager
License MIT
Informations about the package dn-state-manager-debug
Shopware StateManager Debug
Discontinued - now part of FroshProfiler
Shopware Plugin featuring a Javascript console debug tool for the StateManager.
Will log ...
... PubSub events:
- subscribe (event name)
- unsubscribe (event name)
- publish (event name, arguments)
... Plugin registration:
- addPlugin (plugin name, element, viewports)
- removePlugin (plugin name, element)
- updatePlugin (plugin name, element)
- destroyPlugin (plugin name, element)
... Breakpoint change:
- switchPlugins (previous/current state)
... Plugin initialization:
- initPlugin (plugin name, selector, event handlers)
Filter
You can filter output by ...
- type (available: subscribe, unsubscribe, publish, addPlugin, removePlugin, updatePlugin, destroyPlugin, switchPlugins, initPlugin)
- event name
- plugin name
To set filter use the javascript console and the following functions, corresponding to each filter:
You can pass a single filter criteria as string or an array of multiple filter criterias.
Type criterias need to be exact and available (see above). Event and plugin name criterias can include part of the name.
To reset filter criterias call the function without any arguments.
Example output
Installation
- Clone this repository into a folder DnStateManagerDebug within the custom/plugins directory of the Shopware installation.
- Install the plugin through the Plugin-Manager within the Shopware backend.
Install with composer
- Change to your root installation of shopware
- Run command
composer require dneustadt/dn-state-manager-debugand install and activate plugin with Plugin Manager
Requirements
- Shopware 5.4.0 or higher
- PHP 7.0