Per discussion in comments on that review, it could reuse language or content from https://wiki.freebsd.org/BenWoods/DebuggingPorts .
Per their request on IRC.
Per IRC discussion with AllanJude, this is probably better suited for the Porter's Handbook, with a link to the Developer's Handbook debugging tutorial.
Source of inspiration: ports(7) as changed in https://reviews.freebsd.org/D27296 .
Done in 5ff4e8af631f4e36bcf79f7e29ae80c8c587f18e Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=5ff4e8af631f4e36bcf79f7e29ae80c8c587f18e commit 5ff4e8af631f4e36bcf79f7e29ae80c8c587f18e Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-08-29 11:06:28 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-08-31 11:10:28 +0000 [phb]: Add information on how to debug ports Heavily based on ports(7). PR: 247271 Reported by: pauamma@gundo.com Reviewed by: carlavilla@ Differential Revision: https://reviews.freebsd.org/D41653 .../en/books/porters-handbook/testing/_index.adoc | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+)
See also: bug 273483