Should my PHP web application crash, what's the best way to capture every possible available information that could help me trouble shoot the problem? For example, if the application fails in a method, I'd like to know the state of local and global variables, what's in session, etc.
I plan to dump this information in a database or send it to myself via email.
Start Free Trial