Skip to content

[3.15] Docs/howto/remote_debugging: Give non-sudo suggestions first (GH-139139) - #158114

Merged
pablogsal merged 1 commit into
python:3.15from
miss-islington:backport-bee3031-3.15
Sep 24, 2026
Merged

pablogsal merged 1 commit into
python:3.15from
miss-islington:backport-bee3031-3.15

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor
  • 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.


(cherry picked from commit bee3031)

Co-authored-by: Geoffrey Thomas geofft@ldpreload.com
Co-authored-by: Pablo Galindo Salgado pablogsal@gmail.com

…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>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting review labels Sep 24, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Sep 24, 2026
@pablogsal
pablogsal enabled auto-merge (squash) September 24, 2026 16:13
@pablogsal
pablogsal merged commit ba57cce into python:3.15 Sep 24, 2026
41 checks passed
@miss-islington
miss-islington deleted the backport-bee3031-3.15 branch September 24, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants