Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Not reconnecting, but can create new session #13

Closed
rainabba opened this issue Oct 25, 2016 · 2 comments
Closed

Not reconnecting, but can create new session #13

rainabba opened this issue Oct 25, 2016 · 2 comments
Assignees
Labels

Comments

@rainabba
Copy link

I use nodemon for development and so code changes restart the app/debugger and a new uuid is created for debugging. If I hit "Reconnect" on the UI, it doesn't connect to the right session (because it's a new one), but if I close the tab and start a new session using the extension button, it does connect to the new session so it seems the logic is there to find/connect to the new session.

The user-experience would be much nicer if I didn't have to close/re-open constantly and could use the reconnect option (or just have it reconnect automatically).

@rainabba
Copy link
Author

By the way, thank you for this extension. It is a much appreciated convenience :)

@cjihrig cjihrig self-assigned this Oct 25, 2016
@cjihrig
Copy link
Owner

cjihrig commented Oct 25, 2016

Thanks for using our little extension :-)

I don't think this is something that can be fixed here. The Reconnect feature that you speak of is not part of this extension, so there is nothing that we can do there.

Starting with Node v6.9.0, the inspector creates a new UUID each time Node starts. This is done for security purposes. When you use this extension, it simply looks up the UUID and then connects to dev tools (saving you a copy+paste from the console window).

There is some discussion in nodejs/node#9185 regarding the new UUIDs, which basically reiterates the problem you're experiencing. You should chime in over there. I think the problem will be sorted out over there soon, and if any changes are required here, I'll make them.

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

No branches or pull requests

2 participants