Repository navigation
[3.15] Docs/howto/remote_debugging: Give non-sudo suggestions first (GH-139139) - #158114
Merged
Merged
Conversation
…H-139139) * Docs/howto/remote_debugging: Give non-sudo suggestions first sudo is much too powerful and unnecessary for debugging your own processes. Start with guidance on how to opt into being debugged without the use of sudo, and clarify that sudo and equivalent options like CAP_SYS_PTRACE are giant hammers, but leave the sudo option documented in case you're having trouble getting something else working. * Document seccomp=unconfined; make the Mac commands shorter * pythongh-139139: Clarify remote debugging permission guidance --------- (cherry picked from commit bee3031) Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com> Co-authored-by: Pablo Galindo Salgado <pablogsal@gmail.com>
pablogsal
enabled auto-merge (squash)
September 24, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sudo is much too powerful and unnecessary for debugging your own
processes. Start with guidance on how to opt into being debugged without
the use of sudo, and clarify that sudo and equivalent options like
CAP_SYS_PTRACE are giant hammers, but leave the sudo option documented
in case you're having trouble getting something else working.
Document seccomp=unconfined; make the Mac commands shorter
Docs/howto/remote_debugging: Give non-sudo suggestions first #139139: Clarify remote debugging permission guidance
(cherry picked from commit bee3031)
Co-authored-by: Geoffrey Thomas geofft@ldpreload.com
Co-authored-by: Pablo Galindo Salgado pablogsal@gmail.com