pinecone-dot-website/dbug 问题修复 & 功能扩展

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

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

pinecone-dot-website/dbug

Composer 安装命令:

composer require pinecone-dot-website/dbug

包简介

README 文档

README

=== dbug === Contributors: postpostmodern, pinecone-dot-io Donate link: https://cash.me/$EricEaglstun Tags: debug, error log Requires at least: 4.0 Tested up to: 4.9.2 Stable tag: trunk

Simple error debugging and logging functions.

== Description == dbug() dlog() ddbug()

== Installation ==

  1. Place entire /dbug/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Set logging to screen or to to files, and the larget file size for logs
  4. Write some code
  5. Can't figure something out? dbug( $var )
  6. Need to write yourself a note? dbug( $var, 'this is super cool' )
  7. How many lines of backtrace do you need? dbug( $var, 'oh wow!', 25 )
  8. Want to dbug and die? Use ddbug()

== Changelog == = 1.9.8 = change create_function for php >= 7.2

= 1.9.5 = require php 5.4

= 1.9.3 = composer tweaks

= 1.9.2 = Add composer info, autoload

= 1.9 = Log viewer in admin

= 1.89 = Slightly better class method information

= 1.88 = Moved admin styles inline because of reasons

= 1.87 = Improved default log filesize logic, added ddlog()

= 1.86 = Registered css for mu-plugins correctly

= 1.85 = Fixed offset in backtrace

= 1.81 = Fixed sloppy error which disabled admin screen :(

= 1.8 = Code cleanup, mostly in backtrace

= 1.74 = Whoops, didn't add _htaccess.php to SVN :-p

= 1.73 = Fixed creating .htaccess file when using mu-plugins

= 1.72 = Set dbug to never show on screen if logs are turned on, added REQUEST_URI to all logs

= 1.7 = Moved admin settings into separate class, cleanup of core code

= 1.55 = Fixed using float as argument $k in dbug

= 1.54 = Fixed deprecated argument in add_options_page()

= 1.53 = Fixed a bug in detecting MU

= 1.52 = Fixed a bug in logging integer keyed arrays

= 1.5 = Changed some things, I don't remember what

= 1.4 = Better handling for MU / single blog. All options and settings for MU are now global, saved in blog #1 database.

= 1.32 = Added ddbug() (dbug and die)

= 1.31 = fixed behavior in error handlers to return false, try /catch blocks work as expected.

= 1.2 = last bit of namespace pollution cleaned up check for PHP 5 css tweaks

= 1.1 = added preference for log filesize

= 1.08 = code cleanup, reducing namespace pollution

= 1.0 = yes, its here

== Upgrade Notice == dunno

== Frequently Asked Questions == = This doesn't do anything! = well

= Why did you create dbug? = Because I cant write code without it

== Screenshots ==

  1. dbug is delicious /trunk/screenshot-1.png
  2. strict error reporting is great /trunk/screenshot-2.png

== dbug Basics ==

= Debugging = Call with up to three arguments: `<?php // output a variable dbug( $var );

// output a variable with a title			
dbug( $debug, 'Testing' );

// output a variable with a title and information from the last 6 steps from debug_backtrace
dbug( $somevalue, 'Trying to figure some shit out', 6 );

}`

or use ddbug to dbug and die.

= Error Logging = Call with up to three arguments: `<?php // log a variable dlog( $val );

// log a variable with a title
dlog( $buggy, 'what is $buggy' );

// log a variable with a title into the file 'bug_trap' 
dlog( $somevalue, 'im desperate', 'bug_trap' );

}`

= Production / Development Environments = you should have them

pinecone-dot-website/dbug 适用场景与选型建议

pinecone-dot-website/dbug 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 32 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 11 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 pinecone-dot-website/dbug 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 pinecone-dot-website/dbug 我们能提供哪些服务?
定制开发 / 二次开发

基于 pinecone-dot-website/dbug 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 32
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-11-16