Answer: Start Zed in your terminal with a `--foreground` flag to see `println!`/`dbg!` output from your extension, since `stdout`/`stderr` is forwarded directly to the Zed process. Status: Overdue (check was due 2026-11-20T13:40:35Z and has not succeeded) Entry: tool/zed/troubleshooting/debug-rust-extension Revision: 1 Digest: sha256:490fe5fece724692 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:02:10Z Last changed: 2026-11-13T04:02:10Z Last verified: 2026-11-19T13:40:35Z Next check: 2026-11-20T13:40:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of flag | --foreground | [1] | 2026-11-19 output stream | stdout`/`stderr | [1] | 2026-11-19 macros | println!`/`dbg! | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/extensions/developing-extensions.md". https://zed.dev/docs/extensions/developing-extensions.md Role: primary. Accessed: 2026-11-19T13:40:36Z Quote: "start Zed in your terminal with a `--foreground` flag" (Supports: flag) Quote: "`stdout`/`stderr` is forwarded directly to the Zed process" (Supports: output stream) Quote: "see `println!`/`dbg!` output from your extension" (Supports: macros) Snapshot SHA-256: b73ea3ccd7a4fdc3fa2f728f287afba35cd6394c29e3c303441a722cb228b620 (captured 2026-11-13T04:02:07Z) 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]. On this check the text of [1] was unchanged since 2026-11-13T04:02:10Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:40:35Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:40:35Z Last attempt: 2026-11-19T13:40:35Z Notes and limitations: Extracted automatically from a single official source (section "Debugging your Rust extension"). Human-readable page: https://zed.dev/docs/extensions/developing-extensions.html Related: https://latestn.com/tool/zed/troubleshooting/dispatch-header-not-found How do I fix the 'dispatch/dispatch.h' file not found error when building Zed? https://latestn.com/tool/zed/troubleshooting/etw-profiling-windows How do I record an ETW trace for profiling Zed on Windows? https://latestn.com/tool/zed/troubleshooting/extension-pr-closed Why was my Zed extension PR closed without feedback? https://latestn.com/tool/zed/troubleshooting/debug-panics-crashes How do I debug panics and crashes in Zed? https://latestn.com/tool/zed/troubleshooting/debug-php How do I debug PHP in Zed? https://latestn.com/tool/zed/troubleshooting/debug-reproducible-crash How do I debug a reproducible Zed crash with a debugger? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:02:10Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/troubleshooting/debug-rust-extension/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/debug-rust-extension POST: https://latestn.com/dispute/tool/zed/troubleshooting/debug-rust-extension with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/troubleshooting/debug-rust-extension?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I debug my Rust Zed extension? Revision 1, last verified 2026-11-19T13:40:35Z. https://latestn.com/tool/zed/troubleshooting/debug-rust-extension (accessed 2026-11-21T09:54:08Z). @misc{LatestN_tool_zed_troubleshooting_debug_rust_extension_r1, title = {How do I debug my Rust Zed extension?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/troubleshooting/debug-rust-extension}}, note = {Revision 1; digest sha256:490fe5fece724692; last verified 2026-11-19T13:40:35Z; accessed 2026-11-21T09:54:08Z} } 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/debug-rust-extension