Skip to content

launch.json-free way to attach to a remote process #19222

Closed as not planned
Closed as not planned

Description

Discussed in #19200

Originally posted by zljubisic May 27, 2022
I am using VS Code in windows 10 to connect to local HyperV Centos 7 (Connect to host...).
Now, I am in Centos and I would like to set break point in running docker (swarm service) container.

In order to do so I can "Remote-Containers: Attach to Running Container...", but in that case I will just enter the container. I don't see the option to attach to the running process inside of container (set by docker entrypoint).

I see "Debug: Attach to Node Process" so I hope something like this exists for python processes as well.

Let's say that I have container with fastapi or celery running process inside of it.
Can I somehow attach to their processes and set break point in order to see what is going on?

Activity

  1. karthiknadig commented on Jun 2, 2022

    @karthiknadig
    Member

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  2. brettcannon commented on Aug 4, 2022

    @brettcannon
    MemberAuthor

    Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.

  3. locked as resolved and limited conversation to collaborators on Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions