PHP Debug is single API for tracing PHP applications. With a single file of only 200 lines, you can add, with minimal impact, diagnostics to be displayed upon program termination. Each diagnostic contains file, function, and caller function information. You just need to include the debug.php file and add debug() calls throughout your code in the same way as var_dump(). The diagnostic messages are stored and displayed in a list. Diagnostics can be disabled and controlled. It's small and simple yet very versatile.
kongcurrent provides an easy-to use helper to assist debugging issues which cause exceptions under concurrent access. It was inspired by a problem in which a non-thread-safe Map object held by a third party framework was accidentally shared between threads, causing a ConcurrentModificationException. The helper (a "monitor") creates a proxied version of an object implementing some interface. The proxy can track invocations of the objects' methods and can report on potential concurrent access on the object. This can be used to help find code paths which concurrently access the object through its interface methods. By design, the helper is extensible, and can be adapted to more specific needs.