diff --git a/lib/_debugger.js b/lib/_debugger.js index 422858ee43..6a584ea8d3 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -853,7 +853,7 @@ Interface.prototype.printScripts = function(displayNatives) { script.name == client.currentScript || !script.isNative) { text += script.name == client.currentScript ? '* ' : ' '; - text += script.name + '\n'; + text += require('path').basename(script.name) + '\n'; } } }