| Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| index 20f722c8d7d6d60b5253f968e0b66e5d9df16082..dd8c216312ecf64d02e6a3db9bc1b8d31477593f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| @@ -474,6 +474,9 @@ WebInspector.DebuggerModel.prototype = {
|
| var isContentScript = false;
|
| if (executionContextAuxData && ("isDefault" in executionContextAuxData))
|
| isContentScript = !executionContextAuxData["isDefault"];
|
| + // Support file URL for node.js.
|
| + if (this.target().isNodeJS() && sourceURL && sourceURL.startsWith("/"))
|
| + sourceURL = WebInspector.ParsedURL.platformPathToURL(sourceURL);
|
| var script = new WebInspector.Script(this, scriptId, sourceURL, startLine, startColumn, endLine, endColumn, executionContextId, hash, isContentScript, isLiveEdit, sourceMapURL, hasSourceURL);
|
| this._registerScript(script);
|
| if (!hasSyntaxError)
|
|
|