This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-04
Channels
- # architecture (27)
- # bangalore-clj (4)
- # beginners (22)
- # boot (35)
- # cider (26)
- # cljs-dev (2)
- # cljsrn (3)
- # clojure (156)
- # clojure-austria (3)
- # clojure-dev (9)
- # clojure-italy (25)
- # clojure-nl (10)
- # clojure-poland (5)
- # clojure-sanfrancisco (1)
- # clojure-spec (6)
- # clojure-uk (64)
- # clojurescript (169)
- # core-async (13)
- # cursive (13)
- # datomic (63)
- # dirac (50)
- # duct (21)
- # editors (1)
- # emacs (6)
- # events (1)
- # fulcro (1)
- # java (22)
- # keechma (14)
- # leiningen (2)
- # luminus (4)
- # off-topic (23)
- # onyx (4)
- # parinfer (5)
- # pedestal (4)
- # re-frame (6)
- # reagent (4)
- # ring-swagger (7)
- # rum (4)
- # shadow-cljs (84)
- # specter (5)
- # sql (36)
- # tools-deps (76)
- # uncomplicate (3)
- # yada (4)
@darwin Is there a way to connect dirac to a node inspector web socket directly? I have a url that looks like this 127.0.0.1:7777/inspect/8380ad1ea17af8b
i plopped that in the options url field.. but its not opening. Hm, wonder how i can get chrome extension error logs
oh interesting.. the docs have a screenshot of the options UI and it has more options than mine does..
@ramblurr it is definitely clipped, btw. you’ve probably missed this document: https://github.com/binaryage/dirac/blob/master/docs/node.md
not sure if it is still relevant, but at one point it worked with node (I don’t develop with node, so I didn’t test it recently)
Thanks, yea, those node docs are where I found out about the "missing" (clipped) options. I just needed to pass extra url params.
inspecting the extension options ui reveals a overflow: hidden
class on the body that hides the scroll bar
Those node docs don't mention anything about the Dirac Agent... is it not needed for node inspecting?
hm, so what's going on with the repl instance exactly? that's a full clojure jvm repl right?
that clipped preferences window problem is probably related to size of your chrome window
so when i type (+ 1 1)
into the dirac repl in devtools .. is it being executed in jvm or in my cljs node context?
in your node, jvm just runs clojurescript which compiles cljs -> js, which is then executed
@darwin using the node demo project, i can't seem to get the source maps to work properly
the http server serving the source maps is working (e.g., http://localhost:9988/.compiled/dirac_sample/demo.js.map)
this could give you some insights: https://dev.clojure.org/jira/browse/CLJS-1902
it was meant to give people an easy workaround for node+dirac+devtools source map issues
you might ask @richiardiandrea if he remembers the details, see his comment
oh man, that was long ago, don't really remember the details...
yeah the inline side of source maps in cljs is only for self-host at the moment, there is no way to read them in iirc
still though, i wonder why the source mapping url workaround isn't working in this case.
@richiardiandrea do you have any plans to re-submit that patch?
I think it should be rebased, but core team did not seem to keen at the time
maybe darwin can actually push that again
from reading the node.js ticket on source maps, it seems the "right way" is via source map inlining
it was a hairy code I completely lost context, that is why I’m not going to look at it again, I don’t really need it myself
it probably needs a simple rebase, but understanding and testing it is the difficult part