diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-01-12 21:33:10 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-01-12 21:33:10 +0300 |
commit | 72589b60ada148467caa42912585316cde0ce3e8 (patch) | |
tree | 47735a195fd955aa1808ea3b6135f03f703b15d1 | |
parent | 1b63bd16ed56df5d03f04da6c19f9a50a451b638 (diff) |
debugger: Only display basename of scripts
-rw-r--r-- | lib/_debugger.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js index 422858ee43e..6a584ea8d38 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'; } } } |