-
Navigate to your function.
-
Instrument it with
C-u M-x eval-defun
, orC-u , e f
in Spacemacs. -
Execute that function.
-
Debug with these shortcuts:
Key Action s
Next sexp. i
Step in. o
Step out. d
Backtrace. Q
Quit. -
Once you’re done, re-evaluate all functions (without
C-u
), or simply restart.