Add a DEBUG feature to get more info

triggered by env var. Can use constant later to fold out.