Skip to content

Commit

Permalink
Update troubleshooting advice on the debugger issue with puma plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Apr 25, 2024
1 parent ebfe299 commit db81dab
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,9 @@ If you need to use a custom input or output file, you can run `bundle exec tailw

Some common problems experienced by users ...

### Lost keystrokes or hanging when using `ruby/debug` with the Puma plugin

If you are using the `ruby/debug` debugger while using the Puma plugin from this gem, and you're experiencing what looks like hanging or lost keystrokes, then you'll need to disable Reline.

You can read the [`debug` documentation](https://github.com/ruby/debug?tab=readme-ov-file#configuration) for more information, but the easiest thing to do is to set the environment variable `RUBY_DEBUG_NO_RELINE`:

``` sh
RUBY_DEBUG_NO_RELINE=1 rails server
```
### Lost keystrokes or hanging when using terminal-based debugging tools (e.g. IRB, Pry, `ruby/debug`...etc.) with the Puma plugin

We've addressed the issue and you can avoid the problem by upgrading `tailwindcss-rails` to [v2.4.1](https://github.com/rails/tailwindcss-rails/releases/tag/v2.4.1) or later versions.

### Running in a docker container exits prematurely

Expand Down

0 comments on commit db81dab

Please sign in to comment.