Want this course?
Dealing with errors
In this lesson, we go over how you can interact with errors at the Repl to print only the information you need.
println debugging has a long tradition. It's a great way to quickly pinpoint problems in your code. It lets you figure out where the bug is, and also surface intermediate values that can help you understand what's going on. In this lesson, we talk about how to do println debugging in Clojure, including the 3 types of printing, 3 tricks for embedding printlns in your code, and a cool other way to surface the value that is causing an error.