WP_DEBUG is not helping

Yes mabuc is right, that is what the theme check plugin is for.

Maybe there is some reason that your setup isn’t throwing notices? (your server and development environment)?