Skip to content
Browse files

Merge pull request #280 from Filirom1/master

Like in node.js print options if NODE_DEBUG contains the word request
  • Loading branch information...
2 parents 1f4c596 + ff9b564 commit 6297612d782ab70766b176a731410f14de3bc65c @mikeal mikeal committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
2 main.js
@@ -107,7 +107,7 @@ Request.prototype.init = function (options) {
var self = this
if (!options) options = {}
-
+ if (process.env.NODE_DEBUG && /request/.test(process.env.NODE_DEBUG)) console.error('REQUEST', options)
if (!self.pool && self.pool !== false) self.pool = globalPool
self.dests = []
self.__isRequestRequest = true

0 comments on commit 6297612

Please sign in to comment.
Something went wrong with that request. Please try again.