rails / tailwindcss-rails

MIT License
1.41k stars 174 forks source link

Run the server with remote debugging enabled #281

Closed duduribeiro closed 1 year ago

duduribeiro commented 1 year ago

This commit adds the --open option so a remote session can be started using rdbg --attach. This allows to debug inside a foreman process.

This will replicate what we have on jsbundling-rails https://github.com/rails/jsbundling-rails/blob/main/lib/install/Procfile.dev#L1 and on cssbundling-rails https://github.com/rails/cssbundling-rails/blob/main/lib/install/Procfile_for_bun.dev#L1

flavorjones commented 1 year ago

Quick note that the user journey tests are failing for unrelated reasons (will be fixed on main when https://github.com/rails/tailwindcss-rails/pull/282 is merged).

flavorjones commented 1 year ago

@duduribeiro Thank you for opening this! Looks great, works fine for me.

flavorjones commented 1 year ago

https://github.com/rails/tailwindcss-rails/releases/tag/v2.0.31 is out! Thank you again!