vdrahaniuk / magento2-dump-server
将Symfony Var-Dump Server引入到Magento 2。
dev-master
2019-04-25 08:15 UTC
Requires
- php: ^7.1
- magento/product-community-edition: ^2.3
- symfony/var-dumper: ^4.1.1
This package is auto-updated.
Last update: 2024-09-29 05:09:23 UTC
README
# 使用composer安装
此包提供了一个dump服务器,它会收集所有dump调用输出,以确保它不会干扰HTTP/API响应。
在项目根目录下通过命令行运行
composer require vdrahaniuk/magento2-dump-server
使用方法
通过调用控制台命令启动dump服务器
bin/magento dump-server:start
您可以使用--format选项将输出格式设置为HTML
bin/magento dump-server:start --format=html > dump.html
在前端配置输出
商店 -> 配置 -> Dump服务器 -> 通用 -> 前端dump -> 启用