Skip to content

[debug-certificate-manager] Add support for resolving home directory and fix auto-sync bug - #5314

Merged
Bharat Middha (bmiddha) merged 5 commits into
mainfrom
bmiddha/vscode-debug-certificate-manager-fixes
Aug 21, 2025
Merged

[debug-certificate-manager] Add support for resolving home directory and fix auto-sync bug#5314
Bharat Middha (bmiddha) merged 5 commits into
mainfrom
bmiddha/vscode-debug-certificate-manager-fixes

Conversation

@bmiddha

@bmiddha Bharat Middha (bmiddha) commented Aug 20, 2025

Copy link
Copy Markdown
Member

Summary

Add support for resolving home directory and fix auto-sync bug to Debug Certificate Manager VS Code Extension

Details

Home Dir Resolution

This extension runs on the UI Extension Host. I didn't come across any VS Code APIs that would help us resolve the home directory in the remote workspace. This change adds a terminal command runner utility. This util spawns a hidden terminal which I'm using to run a node script to get the home directory.
This resolution will be used if .vscode/debug-certificate-manager.json has the storePath property configured with ~

Bumped required VS Code versions and the API typings to get support for the shell integration APIs

Auto-sync fix

Fixed a bug where enabling auto sync didn't call handleSync.

How it was tested

Tested with macOS and Windows VS Code clients and Codespaces VS Code remote.
Tested the home dir change with ~ paths in the config file.

Comment thread vscode-extensions/debug-certificate-manager-vscode-extension/src/extension.ts Outdated
@bmiddha
Bharat Middha (bmiddha) merged commit 3a779a9 into main Aug 21, 2025
5 checks passed
@bmiddha
Bharat Middha (bmiddha) deleted the bmiddha/vscode-debug-certificate-manager-fixes branch August 21, 2025 00:33
@github-project-automation github-project-automation Bot moved this from Needs triage to Closed in Bug Triage Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants