In other words, how do I rescind the directive that causes edebug to enter debugging mode when a particular function is invoked?
You can get this effect without removing instrumentation by setting edebug-initial-mode
to go
. This way, you will only get stopped in edebug if there is a breakpoint set. As of Emacs 25.1, you can do this quickly with edebug-set-initial-mode
: C-x C-a C-m g
(info "(elisp) Edebug Execution Modes")
‘g’
Go: run until the next breakpoint (‘edebug-go-mode’). *Note
Breakpoints::.
[...]
When you enter a new Edebug level, the initial execution mode comes
from the value of the variable ‘edebug-initial-mode’ (*note Edebug
Options::). By default, this specifies step mode.
[...]
Command: edebug-set-initial-mode
This command, bound to C-x C-a C-m, sets edebug-initial-mode. It
prompts you for a key to indicate the mode. You should enter one of
the eight keys listed above, which sets the corresponding mode.