Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect via extension ( chrome.debugger ) #9

Open
sidorares opened this issue Jun 5, 2014 · 3 comments
Open

Connect via extension ( chrome.debugger ) #9

sidorares opened this issue Jun 5, 2014 · 3 comments

Comments

@sidorares
Copy link
Owner

It's not easy to enable debugger currently via --remote-debugging-port switch ( command line, need browser restart etc etc ). This should be simpllified

  • create extension that proxy all commands/events using https://developer.chrome.com/extensions/debugger . Need to connect initially to local server ( acting as a bus )
  • add server to crconsole
  • modify devtools client to support this transport
@laseryuan
Copy link
Contributor

Wish this feature can be implemented. This seems to be the only possible way to do REPL driven development in terminal.

Update: I tried to use crmux to access a page tab from both chrome devtools and terminal. Hope to set a breaking point by devtools. But it can still only work with devtools or the crconsole.

@sidorares
Copy link
Owner Author

extensions still require exclusive access ( e.i when you open devtools extension is disabled ):

Opening embedded Developer Tools will terminate the remote connection and thus detach the extension.

What was the problem with crmux? I'm able to use crconsole and devtools both connected to crmux simultaneously

re original issue - it's high on my priority list, but unfortunately very busy with other things right now

@laseryuan
Copy link
Contributor

Thanks for the explanation. I thought to use crmux to bypass the restriction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants