Env debughistory

It's something that collects a lot of valuable information.