Variable: tramp-debug-to-file
tramp-debug-to-file is a customizable variable defined in tramp.el.gz.
Value
nil
Documentation
Whether Tramp debug messages shall be saved to file.
The debug file has the same name as the debug buffer, written to
temporary-file-directory(var)/temporary-file-directory(fun).
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-debug-to-file nil
"Whether Tramp debug messages shall be saved to file.
The debug file has the same name as the debug buffer, written to
`temporary-file-directory'."
:version "28.1"
:type 'boolean)