IDE connection not working when running from VS Code terminal since v2.1.13
Resolved 💬 3 comments Opened Jan 31, 2026 by phsmax9 Closed Feb 3, 2026
Bug Description
Since version 2.1.13, Claude Code CLI fails to connect to the IDE when launched from the VS Code integrated terminal.
Steps to Reproduce
- Open VS Code
- Open the integrated terminal (Ctrl+`)
- Run
claudecommand - IDE connection fails / not detected
Expected Behavior
Claude Code should detect and connect to VS Code IDE when launched from VS Code's integrated terminal.
Actual Behavior
IDE connection is not established. Claude Code does not recognize it's running inside VS Code.
Environment
- Claude Code version: 2.1.13+
- IDE: VS Code
- OS: Windows
Additional Context
This issue started occurring after updating to version 2.1.13. Previous versions worked correctly with VS Code terminal.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗