Skip to content

How to debug psyntax

Higepon Taro Minowa edited this page Sep 16, 2022 · 1 revision

Using environment variable helps a lot.

          (when (get-environment-variable "MOSH_DEBUG")
            (format (current-error-port) "fun-exp=~s arg-exps=~s ae=~s\n" fun-exp arg-exps (if ae (ae) ae))
            )