Only require debugger in local environment.