Remove raven in debug mode