11

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

Hard to say if this is related to the debug tool, the rails server or my Terminal. I'm using Terminal.app with Solarized theme.

Joel
  • 4,503
  • 1
  • 27
  • 41
Somazx
  • 532
  • 2
  • 18

1 Answers1

16

When the cursor disappears you can enter the command stty echo and hit enter. That should bring the cursor back.

Joel
  • 4,503
  • 1
  • 27
  • 41