Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dbae6ab

Browse files
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

‎src/features/DebugSession.ts

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /