Movatterモバイル変換


[0]ホーム

URL:


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

Commita70f4d9

Browse files
authored
Enable verbose output when configuring a log directory (#578)
#542
1 parent83391f9 commita70f4d9

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
##Unreleased
44

5+
###Changed
6+
7+
- Always enable verbose (`-v`) flag when a log directory is configured (`coder.proxyLogDir`).
8+
59
##[1.10.1](https://github.com/coder/vscode-coder/releases/tag/v1.10.1) 2025-08-13
610

711
###Fixed

‎src/commands.ts‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,19 @@ export class Commands {
321321
*/
322322
publicasyncviewLogs():Promise<void>{
323323
if(!this.workspaceLogPath){
324-
vscode.window.showInformationMessage(
325-
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
326-
this.workspaceLogPath||"<unset>",
327-
);
324+
vscode.window
325+
.showInformationMessage(
326+
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
327+
"Open Settings",
328+
)
329+
.then((action)=>{
330+
if(action==="Open Settings"){
331+
vscode.commands.executeCommand(
332+
"workbench.action.openSettings",
333+
"coder.proxyLogDirectory",
334+
);
335+
}
336+
});
328337
return;
329338
}
330339
consturi=vscode.Uri.file(this.workspaceLogPath);

‎src/remote.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ export class Remote {
676676
"SSH proxy diagnostics are being written to",
677677
logDir,
678678
);
679-
return` --log-dir${escapeCommandArg(logDir)}`;
679+
return` --log-dir${escapeCommandArg(logDir)} -v`;
680680
}
681681

682682
// updateSSHConfig updates the SSH configuration with a wildcard that handles

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp