Skip to content

how to re attach to the same pid #1799

@Layty

Description

@Layty

my system is aarch64, ubunut core 20.04.

I have
1. build attach_linux_amd64.so
2. fix gdb as #1413 , without "--batch"
then
python3 -m debugpy --listen 0.0.0.0:5678 --pid 6410

then in gdb cmd input continute, and vscode works ok.

but next time, I kill gdb and debugpy , I can not run python3 -m debugpy --listen 0.0.0.0:5678 --pid 6410 , it tells me listen is already.

so how can I disable listen and reattach the pid .

Metadata

Metadata

Assignees

Labels

needs reproIssue has not been reproduced yet

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions