This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-31
Channels
- # announcements (5)
- # babashka (105)
- # beginners (92)
- # calva (77)
- # cider (17)
- # cljdoc (8)
- # cljs-dev (8)
- # cljsrn (8)
- # clojure (272)
- # clojure-dev (25)
- # clojure-europe (5)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojure-uk (108)
- # clojurescript (326)
- # code-reviews (4)
- # cursive (6)
- # datomic (37)
- # duct (5)
- # emacs (14)
- # fulcro (23)
- # graphql (1)
- # juxt (1)
- # kaocha (2)
- # leiningen (10)
- # malli (9)
- # music (1)
- # nrepl (12)
- # pathom (21)
- # pedestal (2)
- # planck (4)
- # quil (3)
- # reitit (29)
- # rewrite-clj (10)
- # shadow-cljs (82)
- # spacemacs (29)
- # sql (6)
- # tools-deps (19)
Hello folks, I'm currently trying to debug a ring webapp and curious if it's possible to use linebreaks in cursive with an http request. I'm fairly new to cursive and clojure, so not sure of a good local dev setup for this. Maybe what I'm hoping for isn't possible, but I was hoping that if I hit the local url with a curl I'd be able to step through the functions. Is that a thing I can do?
@ssanders i haven't tried this myself but it seems possible to do that. take a look at this: https://stackoverflow.com/questions/56300204/how-to-debug-a-clojure-web-application-in-intellij
Thanks. That's interesting. So, I'm not using Leiningen, it's a deps.edn setup, so I'm looking at the section about "without leiningen" I actually have it set up like it's described there, but not seeing the linebreaks fire when I hit the localhost.
@ssanders, if you have the chance, check scope capture. It’s a different debugging experience based on Stuart Halloway REPL debugging post: http://blog.cognitect.com/blog/2017/6/5/repl-debugging-no-stacktrace-required https://github.com/vvvvalvalval/scope-capture
This looks promising. Thanks @U4WS1443F