Fork me on GitHub
#dirac
<
2016-11-08
>
adamfrey21:11:26

I’m getting pretty far in setting up Dirac, my Agent is up an accepting connections, but I just hit the warning Cannot attach Dirac DevTools. Likely cause: another instance of DevTools is already attached. Any hints for that warning?

adamfrey21:11:23

I don’t have any other browser tabs open when I get this warning, btw

adamfrey22:11:26

I just tried the dirac-sample repo and I get the same warning. Even after a laptop restart (just to make sure I don’t have any stray processes hanging around)

darwin23:11:01

@adamfrey did you start your chrome canary with --remote-debugging-port=9222?

adamfrey23:11:26

Yes. I did just notice I'm getting this error in my canary chrome output:

"Uncaught TypeError: Cannot read property 'addExtensions' of undefined", source:  (67)
that might be related to my problem

darwin23:11:34

they did some renaming upstream

darwin23:11:01

and I thought this file is used only with internal devtools

darwin23:11:15

please copy&paste your chrome version here

darwin23:11:24

I will try to reproduce

adamfrey23:11:00

56.0.2913.3

adamfrey23:11:14

chrome version^

darwin23:11:15

hmm, does not work for me too, but looks like a different reason "Uncaught TypeError: target.pageAgent(...).setBlockedEventsWarningThreshold is not a function"

darwin23:11:23

ok, the protocol changed again, let me cut a new release

darwin23:11:05

just curious, do you have clean canary profile, or do you use any other devtools extensions? e.g. react devtools extension?

darwin23:11:35

that addExtensions, where do you exactly see it? when you open internal devtools on your page?

darwin23:11:41

@adamfrey pull dirac-sample, and try it again, also chrome extension update might take a while

darwin23:11:15

it works for me here under macOS and 56.0.2913.3

darwin23:11:31

going to grab a snack and will be back in 10mins

adamfrey23:11:13

All right, I'll try after dinner