vshaxe / hashlink-debugger

Visual Studio Code Debugger for Haxe/HashLink applications
https://hashlink.haxe.org/
MIT License
57 stars 23 forks source link

Debugger crashes with multiple debug sessions #41

Closed Gama11 closed 4 months ago

Gama11 commented 5 years ago

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:

ncannasse commented 5 years ago

Do you use a different debug port ?

Gama11 commented 5 years ago

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?

ncannasse commented 5 years ago

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)

yuxiaomao commented 4 months ago

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