MCPcopy
hub / github.com/request/request / debug

Function debug

request.js:134–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132// Debugging
133Request.debug = process.env.NODE_DEBUG && /\brequest\b/.test(process.env.NODE_DEBUG)
134function debug () {
135 if (Request.debug) {
136 console.error('REQUEST %s', util.format.apply(util, arguments))
137 }
138}
139Request.prototype.debug = debug
140
141Request.prototype.init = function (options) {

Callers 1

request.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…