Hello Phalconists,

I have a simple code:

$debug = new \Phalcon\Debug();
$debug->listenLowSeverity();

But I see two problems:

  • it returns 200, I want 404 or 500
  • it stops dumping errors into files

what complicated me to solve for instance troubles like: https://forum.phalcon.io/discussion/17745/dispatcher-and-beforeexecuteroute-extraordinary-effects

Is there any simple way to achieve this? I had to give up Phalcon\Debug and use more sophisticated tool, but I'd like to have application more consistent and decrease number of outer libraries.