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

feat: debug mode #1254

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: debug mode #1254

wants to merge 1 commit into from

Conversation

iloveitaly
Copy link
Contributor

@iloveitaly iloveitaly commented Jan 7, 2025

This would enable an interative shell to be opened up if a build fails. This is still experimental
and I'm running into some issues using this with orbstack, so this PR is still very much a WIP.

orbstack/orbstack#1700

Without this option, the only way to debug a failing build is to --out the build, insert multi-stage
build commands in the dockerfile and then use --target to get in-progress container ID to play around
with, which is super lame. We need a better way.

This would enable an interative shell to be opened up if a build fails. This is still experimental
and I'm running into some issues using this with orbstack, so this PR is still very much a WIP.

orbstack/orbstack#1700

Without this option, the only way to debug a failing build is to `--out` the build, insert multi-stage
build commands in the dockerfile and then use `--target` to get in-progress container ID to play around
with, which is super lame. We need a better way.
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.

1 participant