title: Outputting environment variables from MSBuild .targets files
body: <p>Suppose I had a .targets files which was called as part of a long chain of build related scripts, and used some environment variable. Could you suggest a good way to debug the build process and check the variable's value once the file is reached by the build process?</p>