Skip to content
0:00 / 0:00

#snitch#clojure#calva

Supercharge your debugging with Snitch

CalvaTV

1.4K subscribers • 11 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

692 views1 year ago1 recommendation

Programming languagesTools and practiceLisp and ClojureDebuggingVim, Emacs and editors

How to use the Snitch library and Calva to debug Clojure code using inline defs directly from the REPL.

Snitch is a collection of macros that let you make the code inside your functions inspectable via the REPL. Behind the scene it uses “inline defs“, a much beloved debugging technique among Clojurians. It is very easy to add Snitch to your workflow. You don't even need to update your project config. With the Clojure REPL you can load the dependency from Clojars and be going. In the video I demo inline defs, show you how you can use Snitch to make supercharge the debugging, and how you can let Calva do the work of integrating Snitch in your project. Snitch: github.com/AbhinavOmprakash/snitch Calva config: gist.github.com/PEZ/bd4d4b88709626074293430d0b2bf14e Calva is an easy to use Clojure and ClojureScript IDE for Visual Studio Code. calva.io/ github.com/BetterThanTomorrow/calva marketplace.visualstudio.com/items?itemName=betterthantomorr…

Why it's here

1 person recommends this

What people say. Recommended as an easy guide to integrating the Snitch debugging library into a Calva and VS Code workflow.

u/CoBPEZin r/Clojure • Recommends

…o your REPL without touching your project config, including automatically making it available to all your Clojure and ClojureScript namespaces without any require needed. Plus, since this is CalvaTV, how to configure Calva keybindings to leverage Snitch power at will. TL;DR: It is much easier to get started with Snitch than you may think. * Demo: link to this video * Snitch: https://github.com/AbhinavOmprakash/snitch * Calva config: https://gist.github.com/PEZ/bd4d4b88709626074293430d0b2bf14e…