[BUG] Claude Code VS Code Extension crashes during Angular debugging session

Resolved 💬 5 comments Opened Nov 1, 2025 by vasva Closed Jan 11, 2026

Preflight Checklist

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

What's Wrong?

Description

The Claude Code VS Code extension frequently crashes when used during active debugging sessions, particularly when debugging Angular applications with Chrome DevTools attached.

Environment

  • Claude Code Version: [2.0.31]
  • VS Code Version: [1.106.0-insider (Universal)]
  • OS: macOS (Darwin 25.1.0)
  • Node Version: [v22.11.0]

Project Setup

  • Framework: Angular 19.2.15
  • Build Tool: Nx 22.0.1 (monorepo)
  • Dev Server: Angular dev server with HMR
  • Debugger: Chrome DevTools Protocol (attached via VS Code)

Steps to Reproduce

  1. Open an Nx/Angular workspace in VS Code
  2. Start Angular development server (npx nx serve)
  3. Attach Chrome debugger to the running application
  4. Use Claude Code extension to make code changes or ask questions
  5. Extension crashes, often taking down the debug session as well

Expected Behavior

  • Extension should remain stable during debugging sessions
  • Debug session should not be affected by extension activity

Actual Behavior

  • Extension crashes frequently (more often than not during debugging)
  • Debug connection is terminated when extension crashes
  • Must restart both extension and debug session

Impact

  • Severely disrupts development workflow
  • Loss of debug state and breakpoints
  • Unable to use Claude Code assistance during debugging

Possible Causes

  • High memory usage (Angular dev server + Chrome debugger + extension)
  • Conflict with Chrome DevTools Protocol
  • Extension host process crash
  • Token limit/timeout during long debug sessions

Workarounds Attempted

  • None found - crashes persist

Additional Context

This happens consistently when actively debugging Angular applications. The extension appears stable when debugging is not active.

Related Issues

I found no related issues

What Should Happen?

Try to reproduce and fix :)

Error Messages/Logs

Steps to Reproduce

  • Open an Nx/Angular workspace in VS Code
  • Start Angular development server (npx nx serve)
  • Attach Chrome debugger to the running application
  • Use Claude Code extension to make code changes or ask questions
  • Extension crashes, often taking down the debug session as well

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.31 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

<img width="688" height="803" alt="Image" src="https://github.com/user-attachments/assets/ac35d017-a5e8-40f3-9af4-b6bc1cba9e8a" />

This happened when I start debugging and then start new window of Claude extension. Of course that debugging browser & session crashes down too.
I am able to reproduce mostly every time.

Memory state of my Mac when it happened
<img width="586" height="95" alt="Image" src="https://github.com/user-attachments/assets/38ddf4a1-b20c-4b07-a252-ded3e9f540f3" />

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗