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?
I don’t have any other browser tabs open when I get this warning, btw
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)
@adamfrey did you start your chrome canary with --remote-debugging-port=9222?
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 problemaha
looks like I broke it with this commit: https://github.com/binaryage/dirac/commit/5f42201e31dae736faa7aef21bbf0ef9931331eb
they did some renaming upstream
and I thought this file is used only with internal devtools
please copy&paste your chrome version here
I will try to reproduce
56.0.2913.3
chrome version^
hmm, does not work for me too, but looks like a different reason "Uncaught TypeError: target.pageAgent(...).setBlockedEventsWarningThreshold is not a function"
ok, the protocol changed again, let me cut a new release
thanks!
just curious, do you have clean canary profile, or do you use any other devtools extensions? e.g. react devtools extension?
that addExtensions
, where do you exactly see it? when you open internal devtools on your page?
@adamfrey pull dirac-sample, and try it again, also chrome extension update might take a while
it works for me here under macOS and 56.0.2913.3
going to grab a snack and will be back in 10mins
All right, I'll try after dinner