Releases: bkdotcom/PHPDebugConsole
Releases · bkdotcom/PHPDebugConsole
v2.0.2
-
Fix regression with 2.0.1..
- Fatal errors not displayed via any output option that internally outputs via onOutput event (html, script, firephp, chromeLogger, Text)
uneffected: file & wamp (both use onLog event) - unit test added to assert that errorHandler's onShutdown subscriber comes before debug's onShutdown subscriber.. which is possible now that shutdown is being delegated through eventManager rather than using
register_shutdown_function()
- nifty!
- Fatal errors not displayed via any output option that internally outputs via onOutput event (html, script, firephp, chromeLogger, Text)
-
Debug singleton can now be created via
_getInstance()
and_setCfg()
static methods (ie, _method static methods can be called before debug instantiated via new\bdk\Debug()
or\bdk\Debug::getInstance()
)
ie, can now
// no prior debug initialization...
\bdk\Debug::_setCfg(array('collect'=>true,'output'=>true));
\bdk\Debug::_log('hello world');
v2.0.1
v2.0
v1.3.2
Fix
- PHPDoc comment parsing - fixed PREG overflow issue on long comments
Additions & Tweaks
- plain-text output method added
- CLI debugging defaults to text
- HTTP_REFERER now included in error email
- request uri and method now included debug-log email body
- extends and implements info now output for objects
- added special case for debugging DOMNodeList objects... now displays the public yet "hidden" length property
- improved toUtf8 utility method
- minor css tweaks
- get() and set() now only have access to configuration
- added dataGet() and dataSet() methods for directly interacting with the log data
- timeEnd() and timeGet() accept a template. default: "%label: %time"
Internal changes
- moved code to "src" folder
- Utilizing Travis-CI for PHPUnit tests
- Added and organized unit tests..
- moved configuration to new Config class
- removed protected property "collect"... simply use cfg['collect']
v1.3.1
- Bug fix: nested arrays weren't being output via the
table()
method - HTML output now has a checkbox to toggle passing the debug param via cookie
- Bug fix:
setErrorCaller
may fail to resolve calling file/line ifcall_user_func
was in the stack trace emailThrottledSummary
: new option to disable email summary of throttled errors