-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Multiple connections? #221
Comments
William Bert <notifications@github.com> writes:
This is a fantastic package -- thanks for it @NicolasPetton! I got it
up and running with both Node apps running Docker and client-side apps
bundled with webpack with only an hour or two of effort, most of it on
getting sourcemaps to work with webpack (our webpack configurations
are fairly complex, but in the end, the changes I had to make to the
default mapping were actually tiny!).
Great to hear!
Anyway, I was wondering if there are any plans to support multiple
connections. It'd be great to have one debugging session open for the
server and another for the client, rather than having to switch
between them.
Not at the moment (although that something I would like to have myself,
so I might start working on it one day). There's nothing preventing
multiple connections, it's just that the Emacs package does not support
it.
Nico
|
Thanks for the reply, sounds good! Separate question: I've noticed that when I have a chrome debugging session open, and then I do indium-launch with the same chrome configuration, a new chrome tab is opened, but at least sometimes, indium continues to communicate with the previous tab. Is there something in the chrome debugging protocol that identifies which tab to communicate with? Maybe that's this? https://chromedevtools.github.io/devtools-protocol/tot/Target |
William Bert <notifications@github.com> writes:
Separate question: I've noticed that when I have a chrome debugging
sessino open, and then I do indium-launch with the same chrome
configuration, a new chrome tab is opened, but at least sometimes,
indium continues to communicate with the previous tab. Is there
something in the chrome debugging protocol that identifies which tab
to communicate with? Maybe that's this?
https://chromedevtools.github.io/devtools-protocol/tot/Target
Indium always connects to the active tab in Chrome, not the last open
one. Could that be why?
|
Hm, what defines active? In my experience, it does not always communicate with the most recently launched tab (which has focus -- I'm not switching tabs manually or otherwise touching the browser). It's not a big problem -- I run |
That's really odd, it's an issue I never have. The active tab is the current tab in Chrome, and it always work for me. What version of Chrome/Chromium are you using? |
I'd also like to see multiple connections since the project I'm working on has multiple services and sometimes I need to debug more than one service at the same time. |
This is a fantastic package -- thanks for it @NicolasPetton! I got it up and running with both Node apps running Docker and client-side apps bundled with webpack with only an hour or two of effort, most of it on getting sourcemaps to work with webpack (our webpack configurations are fairly complex, but in the end, the changes I had to make to the default mapping were actually tiny!).
Anyway, I was wondering if there are any plans to support multiple connections. It'd be great to have one debugging session open for the server and another for the client, rather than having to switch between them.
The text was updated successfully, but these errors were encountered: