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

Extension throws an error without any apparent reason #138

Open
Salil03 opened this issue Apr 15, 2022 · 1 comment
Open

Extension throws an error without any apparent reason #138

Salil03 opened this issue Apr 15, 2022 · 1 comment

Comments

@Salil03
Copy link
Collaborator

Salil03 commented Apr 15, 2022

image
I am getting the following error without any reason. It appears randomly and I have to restart vscode to use the extension again.

@mfornet
Copy link
Owner

mfornet commented Apr 18, 2022

My guess is that you have multiple instances of vscode open at the same time; but the server listening from companion tasks can only be opened in one of the instances! One thing we could do is check first is the port is in use and don't even try to open it in that case (this should avoid this error).

Not completely related to this issue, but one bad side-effect of the server opening in a single instance is that if that instance is closed; even if there are other active vscode instances open the server is off; and listening tasks from the companion won't work.

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