Skip to content

Commit dbae6ab

Browse files
authored
Fix: Change DAP send/receive glyph to keep things aligned in the logs (#5076)
1 parent 4e3db83 commit dbae6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/features/DebugSession.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -643,15 +643,15 @@ class PowerShellDebugAdapterTrackerFactory implements DebugAdapterTrackerFactory
643643
onWillStopSession: () => this.log?.info(`Stopping ${sessionInfo}`),
644644
onExit: code => this.log?.info(`${sessionInfo} exited with code ${code}`),
645645
onWillReceiveMessage: (m): void => {
646-
this.log?.debug(`${m.seq} ${m.type}: ${m.command}`);
646+
this.log?.debug(`${m.seq} ${m.type}: ${m.command}`);
647647
if (m.arguments && (Array.isArray(m.arguments) ? m.arguments.length > 0 : Object.keys(m.arguments).length > 0)) {
648648
this.log?.trace(`${m.seq}: ` + JSON.stringify(m.arguments, undefined, 2));
649649
}
650650
},
651651
onDidSendMessage: (m):void => {
652652
const responseSummary = m.request_seq !== undefined
653653
? `${m.success ? "✅" : "❌"}${m.request_seq} ${m.type}(${m.seq}): ${m.command}`
654-
: `${m.seq} ${m.type}: ${m.event ?? m.command}`;
654+
: `${m.seq} ${m.type}: ${m.event ?? m.command}`;
655655
this.log?.debug(
656656
responseSummary
657657
);

0 commit comments

Comments
 (0)