Fork me on GitHub
#calva
<
2024-04-01
>
salkadam18:04:44

Need debugger help in calva. I keep getting this popup "You don't have an extension for debugging Clojure". How to fix this? VSCode Version: 1.87.2 Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:20:17.278Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.19045 Calva - [2.0.433] - 2024-04-01

pez18:04:47

With Calva you do not start a debug session. Rather the REPL is sort of a debug session and will stop at breakpoints. Further you do not place breakpoints with the VS Code tooling for it. Instead you place #break or #dbg reader tags in the code and then evaluate form. The difference between #break and #dbg is that the former will place one breakpoint, and the second one will instrument the form with breakpoints. There is also the command: Calva Debug: Instrument Current Top Level Form for Debugging. This will instrument the top level form like the #dbg tag, but without you having to edit it. See: https://calva.io/debugger/ for the debugger docs, and about the limitations.