Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Fix remote URIs sent to console
Browse files Browse the repository at this point in the history
Fix microsoft/vscode-chrome-debug#899
  • Loading branch information
roblourens committed Aug 25, 2019
1 parent 8ca7b24 commit dc95d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {

if (stackTrace && stackTrace.callFrames.length) {
const stackFrame = await this._stackFrames.mapCallFrame(stackTrace.callFrames[0], this._transformers, this._scriptContainer, this.originProvider);
e.body.source = stackFrame.source;
e.body.source = mapInternalSourceToRemoteClient(stackFrame.source, this._launchAttachArgs.remoteAuthority);
e.body.line = stackFrame.line;
e.body.column = stackFrame.column;
}
Expand All @@ -1006,7 +1006,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
const stackTrace = params.exceptionDetails.stackTrace;
if (stackTrace && stackTrace.callFrames.length) {
const stackFrame = await this._stackFrames.mapCallFrame(stackTrace.callFrames[0], this._transformers, this._scriptContainer, this.originProvider);
e.body.source = stackFrame.source;
e.body.source = mapInternalSourceToRemoteClient(stackFrame.source, this._launchAttachArgs.remoteAuthority);
e.body.line = stackFrame.line;
e.body.column = stackFrame.column;
}
Expand Down

0 comments on commit dc95d82

Please sign in to comment.