diff --git a/lib/_debugger.js b/lib/_debugger.js index ed5573aff43621..7ec91d1e002c22 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -568,7 +568,7 @@ Client.prototype.mirrorObject = function(handle, depth, cb) { waitForOthers(); function waitForOthers() { - if (--waiting === 0 && cb) { + if (--waiting === 0) { keyValues.forEach(function(kv) { mirror[kv.name] = kv.value; });