Skip to content

Commit 5fff02d

Browse files
committed
hide unwanted message
1 parent 7610fc5 commit 5fff02d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/debugger/DebugServers/RemoteDebugServer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ export class RemoteDebugServer extends BaseDebugServer {
190190
that.debugSession.sendEvent(new OutputEvent(msg + "\n", "stderr"));
191191
});
192192
this.socket.on("error", ex => {
193+
if (connected){
194+
return;
195+
}
193196
let exMessage = JSON.stringify(ex);
194197
let msg = `There was an error in starting the debug server. Error = ${exMessage}`;
195198
that.debugSession.sendEvent(new OutputEvent(msg + "\n", "stderr"));

0 commit comments

Comments
 (0)