Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Changed

- Always enable verbose (`-v`) flag when a log directory is configured (`coder.proxyLogDir`).

## [1.10.1](https://github.com/coder/vscode-coder/releases/tag/v1.10.1) 2025-08-13

### Fixed
Expand Down
17 changes: 13 additions & 4 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,19 @@ export class Commands {
*/
public async viewLogs(): Promise<void> {
if (!this.workspaceLogPath) {
vscode.window.showInformationMessage(
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
this.workspaceLogPath || "<unset>",
);
vscode.window
.showInformationMessage(
"No logs available. Make sure to set coder.proxyLogDirectory to get logs.",
"Open Settings",
)
.then((action) => {
if (action === "Open Settings") {
vscode.commands.executeCommand(
"workbench.action.openSettings",
"coder.proxyLogDirectory",
);
}
});
return;
}
const uri = vscode.Uri.file(this.workspaceLogPath);
Expand Down
2 changes: 1 addition & 1 deletion src/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ export class Remote {
"SSH proxy diagnostics are being written to",
logDir,
);
return ` --log-dir ${escapeCommandArg(logDir)}`;
return ` --log-dir ${escapeCommandArg(logDir)} -v`;
}

// updateSSHConfig updates the SSH configuration with a wildcard that handles
Expand Down