Function: edebug-all-defs

Toggle edebugging of all definitions.

(fn)

Variable: edebug-all-defs

If non-nil, evaluating defining forms instruments for Edebug.
This applies to `eval-defun', `eval-region', `eval-buffer', and
`eval-current-buffer'. `eval-region' is also called by
`eval-last-sexp', and `eval-print-last-sexp'.

You can use the command `edebug-all-defs' to toggle the value of this
variable. You may wish to make it local to each buffer with
(make-local-variable 'edebug-all-defs) in your `emacs-lisp-mode-hook'.