How do I view a stack trace or an error report with Aptana, Apache2, and XDebug?-Collection of common programming errors

I set up XDebug with Aptana, Firefox, and Apache2 using PHP. I want to be able to view an error report of some sort whenever the app crashes.

For example, the application quits whenever my require_once() has the wrong file location.