Debug the environment