Closed nathanbuchar closed 9 years ago
You need to set DEBUG
environment variable in order to get it work, that's how DEBUG
works.
I do in fact already have DEBUG
set to true
.
echo $DEBUG
--> "true"
Although environment variables are set to strings, not real booleans. So to be absolutely certain that the environment variable is getting through, I also hard-coded the environment variable into the top of gulpfile.js
process.env.DEBUG = true;
process.env.debug = true;
Still no dice
Edit: finger slipped and hit "close and comment"
Oh, I see how Debug works now. It needs the process namespace(s), not a boolean.
export DEBUG=gulp:express
Since the switch to using Debug (c6ef9d2), the node process is no longer logging data into Terminal.
Data is passed correctly into the local
logData
method—console.log(data.trim())
confirms this—however somewhere along the lines, the Debug module is not outputting the data.