Skip to content

[bug]: Opening a second remote workspace in VS Code closes the first window (only one at a time) #2904

Description

@dgarros

Bug Description

When working with multiple remote workspaces connected over SSH, only one VS Code window can be open at a time. If I already have a VS Code window open for workspace1 and then open VS Code for workspace2, the existing workspace1 window is closed (replaced) instead of a second window opening alongside it.

I'd expect each remote workspace to open in its own independent VS Code window so I can work across several at once.

Steps to Reproduce

  1. Configure two remote workspaces connected over SSH (e.g. workspace1 and workspace2).
  2. Open workspace1 in VS Code from emdash — a VS Code window opens.
  3. With that window still open, open workspace2 in VS Code from emdash.
  4. Observe: the workspace1 window closes and is replaced by the workspace2 window.

Actual vs Expected Behavior

Actual: Opening a second remote workspace in VS Code closes/reuses the existing window, so only one remote workspace window can be open at a time.

Expected: Each remote workspace opens in its own VS Code window, allowing multiple remote workspaces to be open simultaneously (as VS Code normally supports with code -n / separate windows).

emdash Version

1.1.39

Operating System

macOS 26.5.2 (build 25F84) — client; remote Linux dev servers over SSH (Tailscale SSH)

Additional Context

  • Both workspaces are on remote hosts reached over SSH (Tailscale SSH).
  • This may be related to how emdash invokes VS Code / the Remote-SSH window reuse behavior rather than opening a new window per workspace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions