It is unclear what the Debug module is supposed to do or where we are supposed to see the results. There are some errors shown in the error pane of the Logs tab in the ZServer web page, but none that are directly attributable to deliberate URL errors.
What am I missing?
Using Zend Studio with Zend Server on an iMac OS X 10.8.5
Just as a suggestion: I am sending the output to the screen with print_r($message) instead of dealing with error log file in handleError function. If you are just trying to understand how it works then I suggest doing so.