diff --git a/lib/_debugger.js b/lib/_debugger.js index 5339ebbb56fea9..18612bc28d3b29 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -567,7 +567,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; });