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

Start Guard instead of sleeping in dev environment #14887

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

top4ek
Copy link
Contributor

@top4ek top4ek commented Feb 29, 2024

Allow developers to start Guard inside backend-test container instead of sleeping. This allows to run tests automatically on source files change while existing testing method via docker exec still can be used.

Guard can be started by setting START_GUARD environment variable to "1". Otherwise it's behavior stayed the same.

Also, we can use docker attach and stop code with binding.break(tty and stdin options in compose files enabled).
And it's possible(not sure, as I didn't try) to use debugger gem's protocol to integrate with IDEs and test editors.

@top4ek top4ek changed the title Start Guard instead of sleeping Start Guard instead of sleeping in dev environment Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants