Skip to content

Commit 46867f8

Browse files
committed
give debugger terminal a different name
This way we can tell the difference between an "SSH" terminal and one started by the debugger.
1 parent b7089b0 commit 46867f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async function handleCustomDebugEvent(event: vscode.DebugSessionCustomEvent): Pr
160160
debugTerminal.dispose();
161161
}
162162
debugTerminal = vscode.window.createTerminal({
163-
name: `SSH: ${device.name}`,
163+
name: `${path.posix.basename(args.program)} on ${device.name}`,
164164
pty: {
165165
onDidWrite: writeEmitter.event,
166166
open: (dim: vscode.TerminalDimensions | undefined) => {

0 commit comments

Comments
 (0)