Skip to content

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

@andrrms

Description

@andrrms

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions