Fixing toggling from HTTP_DEBUG env.