Skip to content

Smart auto-attach behavior #856

@kieferrm

Description

@kieferrm

Version: 1.52.0-insider
Commit: 40558fc8e13dbdceee5f4a9ad3fc661b9f8dae15
Date: 2020-11-11T16:52:26.859Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

I had an issue with GH auth token in a Codespace that revealed the following problem:

  1. clone a repo from GH
  2. remove the GH credentials from your keychain; the CLI now does not have any valid access token
  3. open the cloned folder in VS Code
  4. ensure auto-attach is configured as smart
  5. in VS Code, sign into GH for example for setting sync
  6. Run git fetch in the integrated terminal
    -> the VS Code git credential helper kicks in which calls into the VS Code GitHub auth provider
    -> The debugger auto-attaches to the credential helper

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions