italystrap/debug 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

italystrap/debug

最新稳定版本:2.1.0

Composer 安装命令:

composer require italystrap/debug

包简介

Classes and functions for handling debug

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP from Packagist

Classes and functions for handling debugging

Table Of Contents

Installation

The best way to use this package is through Composer:

composer require italystrap/debug

Basic Usage

Simply add the below code into your wp-config.php file

<?php define( 'WP_DEBUG', true ); // Load helpers for debugging define( 'WP_DEBUG_LOG', true ); // Write to debug.log file define( 'WP_DEBUG_DISPLAY', false ); // Optional @ini_set( 'display_errors', 0 ); // Optional define( 'SCRIPT_DEBUG', true ); define( 'SAVEQUERIES', true ); define( 'ITALYSTRAP_DEBUG', true ); // Load helpers for debugging

Now you can use:

<?php d(); debug( $log );

For handling php errors it will be use Whoops that will display a screen with the full stack of information about the error.

Advanced Usage

TODO

Contributing

All feedback / bug reports / pull requests are welcome.

License

Copyright (c) 2019 Enea Overclokk, ItalyStrap

This code is licensed under the MIT.

Credits

TODO

统计信息

  • 总下载量: 3.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 16
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固