I want to use CDP and also to be able to connect the headless chrome with dev tools (via chrome://inspect or whatever)
is it a possible setup?
Thanks!
Unfortunately that's not possible, see "Simultaneous protocol clients" here.
@Bnaya I have a fix for this - please try https://github.com/johnspackman/chrome-remote-multiplex I've just released to solve exactly this problem.
@johnspackman awesome, thanks for sharing!
GRATE!! i will take a look
Can you add an example how to connect via CDP + chrome://inspect?
Most helpful comment
@Bnaya I have a fix for this - please try https://github.com/johnspackman/chrome-remote-multiplex I've just released to solve exactly this problem.