Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 6297612d782ab70766b176a731410f14de3bc65c 2 parents 1f4c596 + ff9b564
@mikeal mikeal authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.