Permalink
Browse files

Added DEBUG_COLORED to force colored output

  • Loading branch information...
1 parent fa2367f commit a9ba7d5bf169eefe540d3e3224a781690c57dad0 @nopnop nopnop committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/debug.js
View
@@ -129,7 +129,7 @@ function debug(name) {
colored.enabled = plain.enabled = true;
- return isatty
+ return isatty || (process.env['DEBUG_COLORED'] == 'true')
? colored
: plain;
}

0 comments on commit a9ba7d5

Please sign in to comment.