Skip to content

Draft: Enable REPL for better_errors gem

Markus Koller requested to merge 30124-better-errors into master

What does this MR do?

This enables the interactive REPL for the better_errors gem with two changes:

  • Add the binding_of_caller gem.
    • This was removed in !41629 (merged), apparently due to security concerns with remote access. But by default the console is only available to 127.0.0.1, so I think this should be fine.
  • Only use 1 Puma worker by default in development.
    • This makes sure we have access to the request data, and fixes the errors from #30124 (closed).

Screenshots (strongly suggested)

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #30124 (closed)

Edited by Markus Koller

Merge request reports