Xdebug is a generic PHP debugging module. It can be used to generate backtraces, which make facilitate debugging considerably.