spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
Mario C. 2020-01-24T19:41:20.047700Z

I know I should use a debugger (And I do here and there) but I find myself doing a lot of good ole fashion println 's. That being said I would like to be able to highlight a let binded variable and use a command to automatically add on the next line a _ (println "<selected-variable>: " selected-varaible) . Does anyone have any links that would point me in the right direction or similar functionality that I can use as a template to make something like this?

kirill.salykin 2020-01-24T21:04:40.048Z

maybe https://github.com/weavejester/hashp

Mario C. 2020-01-24T21:41:29.048700Z

Hmm this may work

practicalli-john 2020-01-24T23:59:40.054700Z

@mario.cordova.862 I am sure pressing , d b on a function you wish to debug and then calling that function is much less effort than writing a template. You can debug multiple functions and expressions... And just eval the functions you marked for debugging to stop debugging them. There is a video here that shows just how simple it is https://youtu.be/jHCch3-Yuac