Fork me on GitHub
#dirac
<
2016-04-29
>
jupl02:04:50

@slotkenov Do you mind sharing how you configured? That's currently the next thing I'm working on incorporating.

slotkenov07:04:11

ah yes of course, I totally forgot about it

slotkenov07:04:28

After running that you need to start up a repl in a second terminal with boot repl -c. In that repl then you need to call (dirac.agent/boot!) to start the agent.

slotkenov07:04:45

Couldn’t get it any nicer than that simple_smile

slotkenov07:04:18

Let me know if it works for you as well @jupl

jupl07:04:56

Cool! I'll give it a shot later.

jupl16:04:09

So it looks like all loads. However, I don't get the REPL in the console.

darwin17:04:57

@jupl: did you manage to make it work?

jupl17:04:39

Not yet so far. Console mentioned below on Canary with the DevTools extension. I'll mess around with it later.

Installing Dirac Runtime v0.2.0 and enabling features :repl

jupl17:04:32

I don't see the green colors like in the screenshots and if I try to eval an expression like (+ 1 2) I get an error as that gets evaluated like JS.

darwin18:04:13

@jupl: did you install the Dirac Chrome Extension?

darwin18:04:28

do you see any errors on this page? <chrome://extensions/>

jupl18:04:41

Yes and no.

darwin18:04:10

so you confirm that you opened Dirac DevTools instead of normal DevTools, switched to console panel and switched to Dirac Prompt by PageUp or PageDown

jupl18:04:43

The PageUp/Down was what I omitted.

darwin18:04:12

yep, that is how you alternate between prompts

jupl18:04:26

Is that in the documentation? I'm trying to see where I missed that.

jupl18:04:37

Or is that a Chrome DevTools thing?

darwin18:04:34

you are right, the documentation is not mentioning it ATM

darwin18:04:46

it used to be there, but I split the docs and moved bunch of text into https://github.com/binaryage/dirac-sample

darwin18:04:58

including this little detail 😉

jupl18:04:06

Cool! Thank you all!

darwin18:04:07

so you skipped dirac-sample, I will add a note about it at the end of the installation docs, so people should follow there

jupl18:04:00

I skimmed it but I was I was working with Boot.

jupl18:04:16

I skimmed it but didn't notice that part as I was working with Boot.

jupl18:04:41

I think I would probably have gotten it as that was going to be my next step to see if I can replicate with the sample project.

jupl18:04:18

Something interesting I'm observing.

jupl18:04:46

In regular DevTools I can place breakpoints in the Chrome Debugger on any line with the original file via sourcemap.

jupl18:04:33

In Dirac, however, not all line numbers are covered meaning I can't place breakpoints in certain places at the bottom.

darwin18:04:36

@jupl: yes, I have seen that too. it seemed that just the line numbering is off, but breakpoints worked as normal

darwin18:04:25

didn’t find the cause of this yet, will look into it later

jupl18:04:27

Yeah it's no biggie since I just realized the breakpoint at the last line in the screenshot is a moot point.

jupl18:04:39

Really cool! Thank you for the help.