hashlink-debugger icon indicating copy to clipboard operation
hashlink-debugger copied to clipboard

Debugger crashes with multiple debug sessions

Open Gama11 opened this issue 5 years ago • 3 comments

When I have two different workspaces open in VSCode, and there's already an HL debug session running in one of them, starting one in the second gives me this error:

Gama11 avatar Feb 08 '19 18:02 Gama11

Do you use a different debug port ?

ncannasse avatar Feb 09 '19 08:02 ncannasse

Urm.. how would I do that, isn't that hardcoded in the debugger? Shouldn't it figure out a free one on its own like the language server does for --connect?

Gama11 avatar Feb 09 '19 09:02 Gama11

ATM there is no automatic detection, you need to specify "port" in configuration. But it should give a more meaningful error, and there is a bug related to that (see #37)

ncannasse avatar Feb 10 '19 13:02 ncannasse

Could not reproduce today, and an error message will be displayed if the port is occupied.

yuxiaomao avatar May 29 '24 10:05 yuxiaomao