Add `attach` command to pdb
@pablogsal đang làm issue này rồi.
Từ ngày 22/5/2025.
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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
- gh-133954
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.