Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add documentation for remote debugging with pdb#134260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pablogsal merged 2 commits intopython:mainfromivonastojanovic:pdb_help_usage
May 20, 2025

Conversation

ivonastojanovic
Copy link
Contributor

Adds a brief note to the pdb help summary about attaching to a running process using the -p option, making the remote debugging feature more visible.

@ivonastojanovic
Copy link
ContributorAuthor

CC@pablogsal

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Oh,-m pid is not documented athttps://docs.python.org/dev/library/pdb.html. You may update this option there as well.

ivonastojanovic reacted with thumbs up emoji
@vstinnervstinner added the needs backport to 3.14bugs and security fixes labelMay 19, 2025
@gaogaotiantian
Copy link
Member

Yeah, maybe update the doc file as well.

@python-cla-bot
Copy link

python-cla-botbot commentedMay 19, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@ivonastojanovicivonastojanovic changed the titleMention remote debugging via -p PID in usage textAdd documentation for remote debugging with pdbMay 19, 2025
Adds a brief note to the pdb help summary about attaching to a runningprocess using the -p option, making the remote debugging featuremore visible.
@gaogaotiantian
Copy link
Member

I think normally we have a bot that gives a preview of the docs when we changes the docs, any idea what happened@vstinner ?

@vstinner
Copy link
Member

I think normally we have a bot that gives a preview of the docs when we changes the docs, any idea what happened@vstinner ?

You can click on the "readthedocs" CI to go to the preview doc:https://cpython-previews--134260.org.readthedocs.build/en/134260/library/pdb.html

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. Thanks for updating pdb doc as well.

@pablogsalpablogsal merged commit6856a04 intopython:mainMay 20, 2025
39 checks passed
@miss-islington-app
Copy link

Thanks@ivonastojanovic for the PR, and@pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 20, 2025
* Mention remote debugging via -p PID in usage textAdds a brief note to the pdb help summary about attaching to a runningprocess using the -p option, making the remote debugging featuremore visible.* Mention remote debugging in pdb.rst(cherry picked from commit6856a04)Co-authored-by: ivonastojanovic <80911834+ivonastojanovic@users.noreply.github.com>
@bedevere-app
Copy link

GH-134398 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 20, 2025
@gaogaotiantian
Copy link
Member

I think the part where it explains how to use attach, should be part of the-p option, or it would be kind of weird to have it there.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gaogaotiantiangaogaotiantiangaogaotiantian left review comments

@vstinnervstinnervstinner approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ivonastojanovic@gaogaotiantian@vstinner@pablogsal

[8]ページ先頭

©2009-2025 Movatter.jp