nuxt / nuxt/devtools

VSCode Integration Fails to Connect, Prompts for `code-server` Installation

Open
#891 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.3k
Forks
214
Avg merge
13h 22m
Merged PRs (30d)
18

Description

🐛 The bug

The Nuxt DevTools VSCode integration fails to connect to the local VS Code instance. When opening the integration panel, it displays an error message requiring the installation of code-server:

Install VS Code Server
It seems you don't have code-server installed.
Learn more about it with this guide.
Once installed, restart Nuxt and visit this tab again.

This issue may be related to the recent deprecation of code-server by VS Code in favor of their new, unified code CLI. The DevTools integration might still be relying on the legacy code-server mechanism for its connection, which is no longer the standard.

Attempts to resolve the issue by launching the development server with different host configurations (--host localhost and --host 0.0.0.0) were unsuccessful.

🛠️ To reproduce

No way to reproduce on Stackblitz :(

🌈 Expected behavior

The VSCode integration should connect successfully to the editor, allowing for seamless interaction between Nuxt DevTools and the local development environment.

ℹ️ Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named, and the issue reports no StackBlitz reproduction. Start by locating the VSCode integration's connection path and checking where the legacy code-server requirement is introduced. Verify the fix with a local Nuxt DevTools setup; done means the integration connects to local VS Code without prompting for code-server.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.