diff options
Diffstat (limited to 'lib/_debugger.js')
-rw-r--r-- | lib/_debugger.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js index 152ebf753..93d04c9de 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -1115,8 +1115,9 @@ Interface.prototype.list = function(delta) { var current = lineno == 1 + client.currentSourceLine, breakpoint = client.breakpoints.some(function(bp) { - return bp.script === client.currentScript && - bp.line == lineno; + return (bp.scriptReq === client.currentScript || + bp.script === client.currentScript) && + bp.line == lineno; }); if (lineno == 1) { |