Terminal cursor disappears when using Rails server and pry / byebug together

If I run pry or byebug , eventually using live-debug mode, the cursor will disappear and the input will become slow / slow. Ultimately, I have to Ctrl-C and kill the unicorn / cougar process. After I left the process, the terminal works, but sometimes the cursor is still missing / invisible. Then I need to close the terminal and open another. I tried two different servers (puma / unicorn) and two different debugging tools (pry and byebug).

It's hard to say if this is due to a debugging tool, rails server, or my terminal. I am using Terminal.app with Solarized theme.

+7
bash ruby-on-rails ruby-on-rails-4 pry
source share
1 answer

When the cursor disappears, you can type stty echo and press enter. This should return the cursor.

+13
source share

All Articles