Fork me on GitHub
#dirac
<
2018-05-05
>
Casey12:05:25

small update on the source maps in node.js

Casey12:05:06

I got the source map inlining patch to the compiler to apply, it was rather easy. and it works.

Casey12:05:22

but for node.js it doesn't solve the source maps not loading issue

Casey12:05:09

it's not a cljs/dirac thing at this point.. its definitly something weird about devtools and node

Casey12:05:39

AFAICT there seems to be 2 "dev tools", the first is the one that loads with

Casey12:05:18

The second is loaded by the "Open dedicated DevTools for Node" link in

Casey12:05:38

This second, node.js specific one, actually loads source maps when attaching to a remote node process

Casey12:05:55

The first one (which is the one dirac uses/is based on) doesn't load source maps, no matter if they are inline or absolute urls

Casey12:05:50

Ah, and this second one lives at I wonder if its possible to make Dirac use that? Not sure how dirac actually works under the hood.