This module is installable via Composer
.
"repositories": [
{
"type": "vcs",
"url": "git@github.com:WeareJH/m2-module-jh-block-logger.git"
}
]
$ cd project-root
$ ./composer.phar require "wearejh/m2-module-jh-block-logger:dev-master"
"require-dev": {
"wearejh/m2-module-jh-block-logger": "dev-master"
}
This module will instrument the output HTML with meta data, so you should only enable it during development.
./bin/magento module:enable Jh_BlockLogger
./bin/magento setup:upgrade
Now when you load any pages they will contain meta data about block & containers.
Module is dev feature and its output shouldn't be visible in integration tests. In order to disable it for integration tests add following instruction to install-config-mysql.php:
'disable-modules' => implode(
',',
[
'Jh_BlockLogger'
]
),
With this module enabled, you'll get access to all the M2 Dev Tools features.