Function: eshell-debug-command-start

eshell-debug-command-start is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-debug-command-start COMMAND)

Documentation

Start debugging output for the command string COMMAND.

If debugging is enabled (see eshell-debug-command(var)/eshell-debug-command(fun)), this will start logging to *eshell last cmd*.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-debug-command-start (command)
  "Start debugging output for the command string COMMAND.
If debugging is enabled (see `eshell-debug-command'), this will
start logging to `*eshell last cmd*'."
  (when eshell-debug-command
    (with-current-buffer (get-buffer-create eshell-debug-command-buffer)
      (erase-buffer)
      (insert "command: \"" command "\"\n"))))