diff --git a/lib/_debugger.js b/lib/_debugger.js index bd655ff45c7b2a..5ce1b16960b0ef 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; });