ComfyUI as an Official VS Code Extension
Feature Idea
It would be great to have ComfyUI available as an official VS Code extension, allowing users to install and run ComfyUI directly inside VS Code and VS Code–based environments.
This would enable ComfyUI to be used seamlessly in:
Local VS Code
VS Code Remote (SSH / Containers / WSL)
code-server (browser-based VS Code)
Existing Solutions
No response
Other
Motivation
Many ComfyUI users already develop and debug custom nodes in VS Code. Running ComfyUI as a separate web app creates unnecessary context switching between code and graph editing, especially in remote or WSL-based setups.
Embedding ComfyUI into VS Code would significantly improve the workflow for:
Custom node development
Remote GPU usage
Version-controlled, code-centric pipelines
Expected Behavior
The extension launches and manages a ComfyUI backend (local or remote)
The existing ComfyUI web UI is embedded via a VS Code WebView
No major changes to ComfyUI’s core architecture are required
Benefits
Tighter integration with the Python / ML development workflow
First-class support for WSL and remote environments
Better experience for professional and cloud-based usage
Notes
Even a minimal extension that embeds the current UI and handles backend startup would already be highly valuable.
It's not too hard to setup. Multiple people have done it in the past, you might be able to find their repos.
That doesn't really sound like a task for the ComfyUI team. It sounds like something you'd have to do yourself, since you're the one wanting to wrap Comfy within VS.
You don't really need an extension though, VS Code has a terminal where you can start/restart the server and Simple Browser (in command palette) which is a built in webview. You could also make this a profile/repo and use it anywhere.
It would be more useful though if code changes were reflected immediately instead of needing a server restart/custom node. Right now it feels extremely janky, especially when you're testing code changes and spam server restart all of the time, loading the models every time. The fact that https://github.com/comfyanonymous/ComfyUI/pull/749 was closed without any discussion is crazy to me, to me it seems like the number 1 priority feature.