Remove support for _DEBUG env var.

Fixes #3688