Skip to content

Add attach command to pdbΒ #133953

@gaogaotiantian

Description

@gaogaotiantian

Feature or enhancement

Proposal:

In 3.14, we can do python -m pdb -p 1234 to attach to a certain process, that's great, but not the end. We should be able to attach to a process while debugging. It's very common when we need to take a look at the status of a subprocess while we are debugging, and attach process from pdb would be an important addition. Sure you can open another terminal and attach from there, but why bother when we can just do it from the existing terminal?

Unfortunately, this won't make 3.14 so see you in 3.15.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions