I'm building the guestbook web application by following the book Web Development with Clojure which is a wonderful book. However, I do get thrown off now and again as I read the code. I think I get it... and I explain it to myself but I'm not certain. It could be me hand-waving things away.
So I've been reading about debugging in Clojure, namely by watching/reading the following resources:
https://aphyr.com/posts/319-clojure-from-the-ground-up-debugging
https://eli.thegreenplace.net/2017/notes-on-debugging-clojure-code/
https://www.cognitect.com/blog/2017/6/5/repl-debugging-no-stacktrace-required
Stuart wrote the above and refers to Eli’s article (2nd link)
- https://vimeo.com/230220635
- Server
- lein repl in a terminal OR
- Server configuration in VS Code/Calva
- Shadow-CLJS
npx shadow-cljs watch app in a terminal
- Build and deploy a full stack Clojure and ClojureScript Web Application
- same author as above
- Sean Corfield's demo app
- Gene Kim's Love Letter to Clojure
- also features this video from Scott Havens of Walmart on functional programming
- Following the VSCode Calva tutorial, Welcome to Clojure, there are some instructions on how to use the Clojure debugger. I tried that with a piece of CLJS code to see if it would break when I hit the webpage, but I got a weird error. It does work with Clojure code though!
- Try out Tap
- Try out Reveal
No comments:
Post a Comment