Skip to content

Commit 1029ae7

Browse files
committed
Fixes #263
1 parent c5bd9c9 commit 1029ae7

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/client/debugger/DebugClients/LocalDebugClient.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,8 @@ export class LocalDebugClient extends DebugClient {
120120
});
121121
this.pyProc.stderr.setEncoding("utf8");
122122
this.pyProc.stderr.on("data", error => {
123-
// TODO: This condition makes no sense (refactor)
124-
if (!this.debugServer && this.debugServer.IsRunning) {
125-
return;
126-
}
127-
this.displayError(error);
123+
// We don't need to display the errors as stderr output is being captured by debugger
124+
// and it gets sent out to the debug client
128125
});
129126
this.pyProc.stdout.on("data", d => {
130127
// This is necessary so we read the stdout of the python process

0 commit comments

Comments
 (0)