diff --git a/lib/_debugger.js b/lib/_debugger.js index e0c8f226b3..83a119d994 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -740,8 +740,7 @@ Interface.prototype.printScripts = function(displayNatives) { script.name == client.currentScript || !script.isNative) { text += script.name == client.currentScript ? '* ' : ' '; - var n = require('path').split(script.name); - text += n[n.length - 1] + '\n'; + text += script.name + '\n'; } } }