I propose to add "DBG_REDIRECT_ON_ERROR" option for debugger. This option won't perform redirect in case if there were errors (php notices, warnings) during last event execution. kApplication::Redirect method will as debugger about total notice/warning count and determine if redirect is allowed.
This feature will also work even in case if event execution status was set to erSUCCESS.
Imported from wiki.