You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the terminal where i started the server shows that the debugger is connected but in the zed log i see this error:
2025-07-10T10:41:00+02:00 ERROR [project::debugger::session] failed to set breakpoints for "/home/francesco/projects/work/cdss_monitoring/app/controllers/charts_controller.rb": /home/francesco/projects/work/cdss_monitoring/app/controllers/charts_controller.rb is not available 2025-07-10T10:41:00+02:00 ERROR [project::debugger::session] failed to set breakpoints for "/home/francesco/projects/work/cdss_monitoring/app/controllers/concerns/dea_ps_charts_concern.rb": /home/francesco/projects/work/cdss_monitoring/app/controllers/concerns/dea_ps_charts_concern.rb is not available 2025-07-10T10:53:44+02:00 INFO [dap::transport] Debugger closed the connection 2025-07-10T10:53:44+02:00 ERROR [project] client is closed
Hitting the same error in a Rails project with RSpec. Here's the debug.json file for a repro:
[
{
"adapter": "rdbg",
"label": "💎 Attach to rdbg on port 6969",
"cwd": "$ZED_WORKTREE_ROOT",
"env": {
"RUBY_DEBUG_PORT": "6969",
},
"request": "attach",
},
{
"adapter": "rdbg",
"label": "🐞✅ Debug current spec",
"command": "rspec",
"args": ["\"$ZED_RELATIVE_FILE:$ZED_ROW\""],
"cwd": "$ZED_WORKTREE_ROOT",
"request": "launch",
},
]
Both configurations fail to set breakpoints with a cryptic 'is not available' error.
2026-01-14T02:27:14+02:00 INFO [dap::transport] Debug adapter has connected to TCP server 127.0.0.1:51176
2026-01-14T02:27:15+02:00 ERROR [project::debugger::session] failed to set breakpoints for "/Users/petko/Projects/X/spec/controllers/x_controller_spec.rb": /Users/petko/Projects/X/spec/controllers/x_controller_spec.rb is not available
2026-01-14T02:27:23+02:00 INFO [dap::transport] Debugger closed the connection
2026-01-14T02:27:23+02:00 ERROR [crates/project/src/debugger/session.rs:2151] debugger shutdown unexpectedly
Thanks for reporting all the use cases here. Unfortunately, I still can't reproduce this issue locally, so I have a theory that it could be an upstream issue. I'll continue trying to reproduce this issue locally, and I’ll also check the rdbg gem.
Activity
hazg commentedon Jul 12, 2025
I have the same error
vitallium commentedon Aug 24, 2025
Hi! Sorry for the late reply, but can you please check if this issue is still happening? I think it was fixed in Zed some time ago. Thanks!
hazg commentedon Aug 25, 2025
same error
err.json DAP Logs - RPC Messages
{ "label": "🧲 Attach", "adapter": "rdbg", "request": "attach", "cwd": "$ZED_WORKTREE_ROOT", "env": { "RUBY_DEBUG_PORT": "3001" } }bundle exec rdbg --port 3001 --open --nonstop -- bin/rails sfrancescob commentedon Aug 25, 2025
nope, still seeing the exact same error, i'm on zed latest test release
psbordjukov commentedon Jan 14, 2026
Hitting the same error in a Rails project with RSpec. Here's the
debug.jsonfile for a repro:[ { "adapter": "rdbg", "label": "💎 Attach to rdbg on port 6969", "cwd": "$ZED_WORKTREE_ROOT", "env": { "RUBY_DEBUG_PORT": "6969", }, "request": "attach", }, { "adapter": "rdbg", "label": "🐞✅ Debug current spec", "command": "rspec", "args": ["\"$ZED_RELATIVE_FILE:$ZED_ROW\""], "cwd": "$ZED_WORKTREE_ROOT", "request": "launch", }, ]Both configurations fail to set breakpoints with a cryptic 'is not available' error.
vitallium commentedon Jan 17, 2026
Thanks for reporting all the use cases here. Unfortunately, I still can't reproduce this issue locally, so I have a theory that it could be an upstream issue. I'll continue trying to reproduce this issue locally, and I’ll also check the
rdbggem.