So I run:
\nnode . .
And right after that it opens a new VSCode Window (of my local VSCode IDE) instead, and the server doesn't start.
\nAny ideas?
Thanks!
","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the VSCODE_IPC_HOOK_CLI
environment variable, so one way to get this to work is to unset it:
VSCODE_IPC_HOOK_CLI= node . --auth none\n
-
Hi, im running the project within a devcontainer.
So I run: And right after that it opens a new VSCode Window (of my local VSCode IDE) instead, and the server doesn't start. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the insight! that worked 👌 |
Beta Was this translation helpful? Give feedback.
Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the
VSCODE_IPC_HOOK_CLI
environment variable, so one way to get this to work is to unset it: