Skip to content

Conversation

elia
Copy link
Contributor

@elia elia commented Jan 30, 2023

When running inside foreman the 'debug' gem will not have a proper TTY available.

Running with the --open option enabled allows to start remote sessions and attach a debugger client with rdbg --attach.

See https://github.com/ruby/debug#invoke-as-a-remote-debuggee.

I'll open submit the same change to cssbundling-rails once accepted/merged.

When running inside foreman the 'debug' gem will not have a proper TTY
available. Running with the `--open` option enabled allows to start
remote sessions and attach a debugger client with `rdbg --attach`.
@dhh dhh merged commit ef5a384 into rails:main Jun 18, 2023
@elia elia deleted the allow-remote-debugging branch June 18, 2023 20:50
@elia
Copy link
Contributor Author

elia commented Jun 18, 2023

Companion PR for cssbundling-rails here rails/cssbundling-rails#123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants