Is there an issue with debug mode in 2.4?
There is a bug in the current release that's been fixed for the next one where PHP Errors/Warnings/Notices won't have the full stack trace shown even if the site is in devMode.