Honor SQLALCHEMY_RECORD_QUERIES even in debug mode.