Browser pane crashes Claude Code when pointed at a port-bound local server (preview_start with launch.json)
Status Closed — duplicate
Maintainer reply None cached
Activity 1 comment · opened Aug 25, 2026 · closed Aug 25, 2026
Environment: Windows 11 Pro 10.0.26200, Claude Code Desktop App version 1.34493.1 (255293), build dated 2026-08-21
Steps to reproduce:
- Create a
.claude/launch.jsonwith a config that runs a local server bound to a port (reproduced withpython -m http.server 8123) - Call
preview_startwith that config'sname navigateto the resultinglocalhostURL via the Browser pane- Call
computer(screenshot) against that tab
Observed: Claude Code (the application itself) crashes.
Additional technical details:
- Port mismatch:
launch.jsonspecified"port": 8123, but the tool's response reported"port": 5173and the Browser pane actually openedhttp://localhost:5173, not 8123 — suggesting a proxy/port-forwarding layer between the configured server port and what the Browser pane connects to.
- Crash timing:
preview_startsucceeded (validtabIdreturned) and the subsequentnavigatecall also completed normally. The crash occurs on the next action — acomputerscreenshot call against the now-loaded port-bound tab — not atpreview_startornavigatetime. Points to a failure in compositing/screenshotting a page served through the proxied local port.
- No crash over
file://: opening the identical HTML file directly via afile://URL (no server) does not crash the app, and screenshots against that tab work normally — though local relative asset references (e.g.<img src="images/foo.png">) silently fail to load in that mode (zero network requests fire for them), a separate unrelated issue.
- Reproducibility: at least the second occurrence of this class of crash (Browser pane + locally-served content on a port) on the same project across different sessions; this occurrence is the first with enough detail captured to pin down the exact
preview_start→navigate→screenshotsequence.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗