dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
adamfrey 2016-11-08T21:36:26.002566Z

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?

adamfrey 2016-11-08T21:49:23.002567Z

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

adamfrey 2016-11-08T22:52:26.002573Z

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)

2016-11-08T23:05:01.002574Z

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

adamfrey 2016-11-08T23:05:26.002575Z

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

"Uncaught TypeError: Cannot read property 'addExtensions' of undefined", source: <chrome-devtools://devtools/bundled/devtools_compatibility.js> (67)
that might be related to my problem

2016-11-08T23:05:38.002576Z

aha

2016-11-08T23:06:12.002577Z

looks like I broke it with this commit: https://github.com/binaryage/dirac/commit/5f42201e31dae736faa7aef21bbf0ef9931331eb

2016-11-08T23:06:34.002579Z

they did some renaming upstream

2016-11-08T23:07:01.002580Z

and I thought this file is used only with internal devtools

2016-11-08T23:07:15.002581Z

please copy&paste your chrome version here

2016-11-08T23:07:24.002582Z

I will try to reproduce

adamfrey 2016-11-08T23:08:00.002583Z

56.0.2913.3

adamfrey 2016-11-08T23:08:14.002584Z

chrome version^

2016-11-08T23:11:15.002585Z

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

2016-11-08T23:13:23.002586Z

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

adamfrey 2016-11-08T23:13:51.002587Z

thanks!

2016-11-08T23:18:05.002588Z

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

2016-11-08T23:18:11.002589Z

@adamfrey ^

2016-11-08T23:18:35.002590Z

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

2016-11-08T23:34:41.002592Z

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

2016-11-08T23:35:15.002593Z

it works for me here under macOS and 56.0.2913.3

2016-11-08T23:35:31.002594Z

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

adamfrey 2016-11-08T23:39:13.002595Z

All right, I'll try after dinner