Extensions allows to attach debugger to existing local linux Docker container.
Simply Go to Debug -> Attach to Docker container -> Select your container -> Click Attach.
Use 'Debug->Detach All' to detach from the process (Stop debugging will terminate the process).
Requires VSDBG to be present on container. You can read more here (Machine Setup section).
How it works:
Extension automates attaching process described in this article.