Simplifies elisp debugging and testing.
Usage example: take a look on how it is used in testing cloud project:
(require 'el-debug)
rewrites defun
so that we get a log message every time we enter or leave a function,
see meso.log as an example.
Other macros used for debugging in cloud project: cloud.org and testing.org:
debug-set
, set-list
, and debug-log-var
.
We need lisp-goodies: start.el (used by Makefile), and shalaev.el for logging.
-
mkdir ~/.emacs.d/local-packages/
. -
Place shalaev.el and el-debug.el to
~/.emacs.d/local-packages/
-
Insert in your text code:
(require 'el-debug)
similarly to this example.
This code is released under MIT license.