claude-code - 💡(How to fix) Fix [BUG] Claude Code VS Code Extension — "Interrupted During Launch" Bug on Apple Silicon Mac [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46094Fetched 2026-04-11 06:29:08
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

2026-04-09 23:50:11.967 [info] Received message from webview: {"type":"launch_claude","channelId":"z6ynyv5i4h",...} 2026-04-09 23:58:13.524 [info] Closing Claude on channel: znjh6sbu0z 2026-04-09 23:58:13.524 [info] generateSessionTitle failed: Error: Channel closed mid-launch 2026-04-10 00:01:54.946 [info] Received message from webview: {"type":"interrupt_claude","channelId":"tbpx2x6k5ib"} 2026-04-10 00:01:54.949 [info] Closing Claude on channel: tbpx2x6k5ib

Pattern: Every session launches then immediately closes with "Channel closed mid-launch." No error code returned to UI — just shows "Interrupted during launch."

Fix Action

Fix / Workaround

Current workaround: Using terminal CLI only

Code Example

2026-04-09 23:50:11.967 [info] Received message from webview: {"type":"launch_claude","channelId":"z6ynyv5i4h",...}
2026-04-09 23:58:13.524 [info] Closing Claude on channel: znjh6sbu0z
2026-04-09 23:58:13.524 [info] generateSessionTitle failed: Error: Channel closed mid-launch
2026-04-10 00:01:54.946 [info] Received message from webview: {"type":"interrupt_claude","channelId":"tbpx2x6k5ib"}
2026-04-10 00:01:54.949 [info] Closing Claude on channel: tbpx2x6k5ib

Pattern: Every session launches then immediately closes with "Channel closed mid-launch." No error code returned to UI — just shows "Interrupted during launch."
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When setting up Claude Code on a new Apple Silicon MacBook (M-series), the VS Code extension sidebar panel fails to launch and shows "Interrupted during launch." The terminal CLI works fine but the sidebar panel hangs indefinitely on every new session attempt. Environment:

MacBook Pro Apple Silicon (ARM64) VS Code latest Claude Code extension v2.1.91 macOS (new machine, migrating from Intel Mac)

What happens:

Extension panel shows "Interrupted during launch" with "View output logs" and "Troubleshooting resources" links Clicking "New session" results in infinite spinning/hanging Output logs show repeated "Launching Claude on channel... Closing Claude on channel" with no error details Terminal CLI (claude) works perfectly — authenticated, responds normally

What I tried:

Cleared ~/.claude/ide/ lock files Reinstalled the extension Fresh claude auth logout / claude auth login Running claude /ide to connect terminal to VS Code

Current workaround: Using terminal CLI only

What Should Happen?

he VS Code extension sidebar panel should launch successfully on a new Apple Silicon Mac, just as the terminal CLI does. New sessions should connect and respond without hanging or showing "Interrupted during launch."

Error Messages/Logs

2026-04-09 23:50:11.967 [info] Received message from webview: {"type":"launch_claude","channelId":"z6ynyv5i4h",...}
2026-04-09 23:58:13.524 [info] Closing Claude on channel: znjh6sbu0z
2026-04-09 23:58:13.524 [info] generateSessionTitle failed: Error: Channel closed mid-launch
2026-04-10 00:01:54.946 [info] Received message from webview: {"type":"interrupt_claude","channelId":"tbpx2x6k5ib"}
2026-04-10 00:01:54.949 [info] Closing Claude on channel: tbpx2x6k5ib

Pattern: Every session launches then immediately closes with "Channel closed mid-launch." No error code returned to UI — just shows "Interrupted during launch."

Steps to Reproduce

Get a new Apple Silicon MacBook (M-series chip) Install VS Code and the Claude Code extension Open a project folder in VS Code Click the Claude Code icon in the sidebar Click "Claude.ai Subscription" to sign in — browser auth completes successfully Return to VS Code — extension shows "Interrupted during launch" Click "New session" — panel spins indefinitely and never loads Repeat steps 6-7 — same result every time

Note: Running claude in the VS Code integrated terminal works perfectly. The issue is specific to the sidebar panel UI.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.91 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue with the Claude Code extension sidebar panel failing to launch on Apple Silicon Macs may be resolved by investigating the "Channel closed mid-launch" error and its relation to the extension's communication with the Anthropics API.

Guidance

  • Investigate the "Channel closed mid-launch" error in the output logs to understand why the channel is being closed immediately after launch.
  • Verify that the Anthropics API is compatible with Apple Silicon Macs and that there are no known issues with the API that could be causing the channel to close.
  • Check the extension's code for any platform-specific issues that could be causing the problem, particularly with regards to the ARM64 architecture.
  • Consider testing the extension on an Intel-based Mac to see if the issue is specific to Apple Silicon Macs.

Example

No code snippet is provided as the issue seems to be related to the extension's interaction with the Anthropics API and the Apple Silicon platform, rather than a specific code issue.

Notes

The issue may be related to the fact that the terminal CLI works perfectly, suggesting that the problem is specific to the VS Code extension and its interaction with the Anthropics API. Further investigation is needed to determine the root cause of the issue.

Recommendation

Apply workaround: Continue using the terminal CLI until the issue with the VS Code extension is resolved, as it provides a functional alternative for interacting with the Claude Code service.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING