Answer: To debug a Ruby script in Zed, use the `rdbg` adapter with a launch request, `script` set to `$ZED_FILE`, and `cwd` set to `$ZED_WORKTREE_ROOT`. To debug a Rails server, use the `rdbg` adapter with `command` set to `./bin/rails`, `args` set to `["server"]`, `cwd` set to `$ZED_WORKTREE_ROOT`, and `env` with `RUBY_DEBUG_OPEN` set to `true`. Status: Overdue (check was due 2026-11-20T13:43:16Z and has not succeeded) Entry: tool/zed/features/debug-ruby Revision: 1 Digest: sha256:1b810096b25aa07b (changes whenever the content changes) Timeline: Created: 2026-11-14T13:51:32Z Last changed: 2026-11-14T13:51:32Z Last verified: 2026-11-19T13:43:16Z Next check: 2026-11-20T13:43:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Adapter name | rdbg | [1] | 2026-11-19 Ruby script config | "script": "$ZED_FILE" | [1] | 2026-11-19 Ruby script cwd | "cwd": "$ZED_WORKTREE_ROOT" | [1] | 2026-11-19 Rails server command | "command": "./bin/rails" | [1] | 2026-11-19 Rails server args | "args": ["server"] | [1] | 2026-11-19 Rails server env | "RUBY_DEBUG_OPEN": "true" | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/ruby.md". https://zed.dev/docs/languages/ruby.md Role: primary. Accessed: 2026-11-19T13:43:16Z Quote: "Zed's name for the adapter (in the UI and `debug.json`) is `rdbg`" (Supports: Adapter name) Quote: ""script": "$ZED_FILE"," (Supports: Ruby script config) Quote: ""cwd": "$ZED_WORKTREE_ROOT"" (Supports: Ruby script cwd) Quote: ""command": "./bin/rails"," (Supports: Rails server command) Quote: ""args": ["server"]," (Supports: Rails server args) Quote: ""RUBY_DEBUG_OPEN": "true"" (Supports: Rails server env) Snapshot SHA-256: 3c4eeabae36eb4ff8c83a68ca7eb6bcfef544abffd0f4f40531dc5890c59b80e (captured 2026-11-13T04:04:46Z) 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-14T13:51:32Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:43:16Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:43:16Z Last attempt: 2026-11-19T13:43:16Z Notes and limitations: Extracted automatically from a single official source (section "Debugging"). Human-readable page: https://zed.dev/docs/languages/ruby.html Related: https://latestn.com/tool/zed/features/debug-swift-code How do I debug Swift code in Zed? https://latestn.com/tool/zed/features/debugger-supported-languages Which languages does Zed's debugger support? https://latestn.com/tool/zed/features/designing-custom-theme How do I design a custom theme for Zed? https://latestn.com/tool/zed/features/create-custom-task How do I create a custom task in Zed? https://latestn.com/tool/zed/features/create-icon-theme-extension How do I create an icon theme extension for Zed? https://latestn.com/tool/zed/features/debug-python-app How do I debug a Python Flask or Django app in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-14T13:51:32Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/features/debug-ruby/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/features/debug-ruby POST: https://latestn.com/dispute/tool/zed/features/debug-ruby with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/features/debug-ruby?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I debug a Ruby script or Rails server in Zed? Revision 1, last verified 2026-11-19T13:43:16Z. https://latestn.com/tool/zed/features/debug-ruby (accessed 2026-11-21T09:50:22Z). @misc{LatestN_tool_zed_features_debug_ruby_r1, title = {How do I debug a Ruby script or Rails server in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/features/debug-ruby}}, note = {Revision 1; digest sha256:1b810096b25aa07b; last verified 2026-11-19T13:43:16Z; accessed 2026-11-21T09:50:22Z} } 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/features/debug-ruby