Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach Visual Studio Code from other extension #7775

Closed
cat-deploy-unsafe opened this issue Dec 28, 2022 · 1 comment
Closed

Attach Visual Studio Code from other extension #7775

cat-deploy-unsafe opened this issue Dec 28, 2022 · 1 comment
Labels
containers Issue in vscode-remote containers

Comments

@cat-deploy-unsafe
Copy link

It is able to attach to a ssh container and open a new vscode window for that container at other extensions? Is there any API to do this? like Kubernetes command Attach Visual Studio Code? I think it might be much helpful if providing this API.

ref:
#12

🚨 The issue tracker is not for questions 🚨

If you have a question about VS Code, please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code and about
VS Code Remote on https://stackoverflow.com/questions/tagged/vscode-remote.

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Dec 28, 2022
@chrmarti
Copy link
Contributor

I think the remote-containers.attachToRunningContainer command would do that when you are connected with Remote-SSH. You can pass the container id as the first argument. (This also works locally with local containers.)

@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

2 participants