-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
debug
should make suspending on start to be configurable
#4870
Comments
Thanks for raising this @briandealwis. I agree the feature is needed; I need a streamlined way to debug |
For the
From poking around the code I have few questions regarding these suggestions:
|
Talked offline, question answers are inline:
|
Currently I have mapped the bug to the following required work:
|
Unassigning myself to focus on performance work, tried to add some notes above for next person |
For NodeJS, the node wrapper already handles |
any update? |
@jaekook We have added |
@tejal29 this request to is provide some kind of indication to Skaffold as to whether |
This would be a great feature to have. Is it possible to get it re-prioritized? The lack of this feature creates downstream issues for Cloud Code. |
@aaron-prindle how is this feature development going? |
Hey @anthonyalayo, thanks for the ping here. Currently the team had to shift gears to tackle other work, so we don't have bandwidth for this. However, if anyone from the community is willing to take a look to this and work on it will be great. Thanks a lot! |
Hey @renzodavid9 I have opened a PR about this one |
@pkoutsovasilis fantastic news!! @renzodavid9 could the team take a look? It will be a huge win for skaffold. |
@renzodavid9 any news? (not that I got a reply in my previous message).. When I opened this PR back in September, I never imagined that we would reach almost the beginning of 2024 without a single comment from the skaffold team 🥲 |
debug
currently configures containers to be in a continue mode where the containers run without suspending. It can be useful for users to be able to connect to their containers immediately on execution, such as to debug amain()
orinit()
method.Proposal:
debug
should look at the container and/or pod for a suspend option and if present, then configure the pod to suspend on start (where possible). Suggestions are:SKAFFOLD_DEBUG_SUSPEND
environment variableskaffold.dev/debug/suspend
The text was updated successfully, but these errors were encountered: