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
Copy file name to clipboardExpand all lines: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
*[Using with PostCSS](#using-with-postcss)
18
18
*[Custom inputs or outputs](#custom-inputs-or-outputs)
19
19
-[Troubleshooting](#troubleshooting)
20
+
*[Lost keystrokes or hanging when using `ruby/debug` with the Puma plugin](#lost-keystrokes-or-hanging-when-using-rubydebug-with-the-puma-plugin)
20
21
*[Running in a docker container exits prematurely](#running-in-a-docker-container-exits-prematurely)
21
22
*[Conflict with sassc-rails](#conflict-with-sassc-rails)
22
23
*[Class names must be spelled out](#class-names-must-be-spelled-out)
@@ -185,6 +186,17 @@ If you need to use a custom input or output file, you can run `bundle exec tailw
185
186
186
187
Some common problems experienced by users ...
187
188
189
+
### Lost keystrokes or hanging when using `ruby/debug` with the Puma plugin
190
+
191
+
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.
192
+
193
+
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`:
194
+
195
+
```sh
196
+
RUBY_DEBUG_NO_RELINE=1 rails server
197
+
```
198
+
199
+
188
200
### Running in a docker container exits prematurely
189
201
190
202
If you are running `rails tailwindcss:watch` as a process in a Docker container, set `tty: true` in `docker-compose.yml` for the appropriate container to keep the watch process running.
0 commit comments