From 72589b60ada148467caa42912585316cde0ce3e8 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 12 Jan 2011 10:33:10 -0800 Subject: [PATCH] debugger: Only display basename of scripts --- lib/_debugger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } } }