Skip to content

Commit d6e513e

Browse files
committed
src/goDebugFactory.ts: fix output event destination
Fixes bug that sends all logging to stdout. Change-Id: Iba8b78cef87331469b7b0358b2338ba59018293d Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/309049 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent 1d549a2 commit d6e513e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goDebugFactory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class DelveDAPOutputAdapter extends ProxyDebugAdapter {
230230
}
231231

232232
private outputEvent(dest: string, output: string, data?: any) {
233-
this.sendMessageToClient(new OutputEvent(output, 'stdout', data));
233+
this.sendMessageToClient(new OutputEvent(output, dest, data));
234234
if (this.outputToConsole) {
235235
console.log(output);
236236
}

0 commit comments

Comments
 (0)