Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the server with remote debugging enabled #146

Merged
merged 1 commit into from
Jun 18, 2023

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