rdbg prompt never appears, I can't see what I type (terminal echo) when using bin/dev (Foreman)

Open
#653 13 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
devtools

Research direction

Reproduce the failure by adding binding.break to a Rails controller and launching the application with bin/dev (Foreman) under the reported Ruby and rdbg versions. Start by tracing rdbg's terminal input and output handling; done means the prompt appears, typed characters are visible, and complete commands are accepted without extra Enter presses.

Written by the indexing model from the issue text.

Description

Your environment

  • ruby 3.1.2p20
  • rdbg 1.5.0
  • rails 7.0.3
  • Mac M1 (Apple Silicon)

Describe the bug

I added binding.break to my rails controller, and it breaks as expected. But there is no rdbg prompt, and I can't see what I type in the terminal. And when I do type something, I have to hit enter several times to get a response. And the response is always an error, since it only accepts the first character of what I typed.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.