Answer: To attach the Zed debugger to an externally-run web server such as one started with `npx serve`, use a JavaScript debug configuration with type "chrome", request "launch", and url "http://localhost:5500". Status: Overdue (check was due 2026-11-20T13:43:42Z and has not succeeded) Entry: tool/zed/troubleshooting/attach-debugger-browser-server Revision: 1 Digest: sha256:bd1861e998cc496f (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:12Z Last changed: 2026-11-13T04:05:12Z Last verified: 2026-11-19T13:43:42Z Next check: 2026-11-20T13:43:42Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of adapter | JavaScript | [1] | 2026-11-19 type | chrome | [1] | 2026-11-19 request | launch | [1] | 2026-11-19 url | http://localhost:5500 | [1] | 2026-11-19 webRoot | ${ZED_WORKTREE_ROOT} | [1] | 2026-11-19 build command | npx | [1] | 2026-11-19 build args | tsc | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/typescript.md". https://zed.dev/docs/languages/typescript.md Role: primary. Accessed: 2026-11-19T13:43:42Z Quote: ""adapter": "JavaScript"" (Supports: adapter) Quote: ""type": "chrome"" (Supports: type) Quote: ""request": "launch"" (Supports: request) Quote: ""url": "http://localhost:5500"" (Supports: url) Quote: ""webRoot": "${ZED_WORKTREE_ROOT}"" (Supports: webRoot) Quote: ""command": "npx"" (Supports: build command) Quote: ""args": ["tsc"]" (Supports: build args) Snapshot SHA-256: 397624549bd50d4333988816865a2b38e49e71eb925e88da242fff1e7b09df7c (captured 2026-11-19T13:43:41Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-19T13:43:42Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:43:42Z Last attempt: 2026-11-19T13:43:42Z Notes and limitations: Extracted automatically from a single official source (section "Attach debugger to a server running in web browser (`npx serve`)"). Human-readable page: https://zed.dev/docs/languages/typescript.html Related: https://latestn.com/tool/zed/troubleshooting/attach-existing-delve How do I attach Zed to an existing Delve instance when debugging Go? https://latestn.com/tool/zed/troubleshooting/built-in-debugger-zed How do I debug Zed itself using Zed's built-in debugger? https://latestn.com/tool/zed/troubleshooting/cargo-unstable-features-error How do I fix Cargo errors in Zed saying a dependency uses unstable features on FreeBSD? https://latestn.com/tool/zed/settings/yarn-typescript-sdk-lsp-setting How do I point Zed's language server (e.g. VTSLS) at the Yarn TypeScript SDK? https://latestn.com/tool/zed/troubleshooting/agent-max-tokens-reached What does the Zed agent "Max tokens reached" error mean and how do I fix it? https://latestn.com/tool/zed/troubleshooting/async-task-profiling How do I profile async tasks in Zed and save a trace? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:05:12Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/troubleshooting/attach-debugger-browser-server/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/troubleshooting/attach-debugger-browser-server POST: https://latestn.com/dispute/tool/zed/troubleshooting/attach-debugger-browser-server with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/troubleshooting/attach-debugger-browser-server?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I attach the Zed debugger to a server running in a web browser with npx serve? Revision 1, last verified 2026-11-19T13:43:42Z. https://latestn.com/tool/zed/troubleshooting/attach-debugger-browser-server (accessed 2026-11-21T09:53:36Z). @misc{LatestN_tool_zed_troubleshooting_attach_debugger_browser_server_r1, title = {How do I attach the Zed debugger to a server running in a web browser with npx serve?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/troubleshooting/attach-debugger-browser-server}}, note = {Revision 1; digest sha256:bd1861e998cc496f; last verified 2026-11-19T13:43:42Z; accessed 2026-11-21T09:53:36Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/troubleshooting/attach-debugger-browser-server