Cursive docs have a short guide to starting a debug REPL.
Colin also demos debugging with Cursive here: