npm/npm — pull request #6181 by isaacs (2014-09-13 18:07:59+00:00)
Title: Put npm-debug.log file in the cache folder, not cwd

This should prevent mishaps like #1548, while avoiding overly
configurable options that make it hard to predict where the file
will show up.

Fix #1584
Close #5252