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
Can't attach to the container after exiting the current debug session #26
Comments
more info:
|
Thanks for the feedback! will need to do some digging to understand the causes, and will update the ticket. |
I'm writing automated e2e test for your scenario so should have updates in the next few days. |
thanks. Just a little more info about the first issue: My workaround is to kill the pods, delete the attach, restart the pods, attach again. It would be great if this can be fixed |
it seems like that from some reason dlv in server mode doesn't work very well with this use case of a client re-connecting (regardless of squash - i tested this with a bunch of terminals). I'm going to implement a fix so that you will only need to delete the attachment and recreate it in order for it to work (i.e. no need to delete the pods). |
I pushed the fix (as described in my previous comment) to master, so it will be out in the next release. |
@yuval-k unsure if the same root cause, but I had a somewhat similar scenario that doesn't seem delve related.
|
Sounds like the same problem - should be resolved in our next release where deleting the attachment will automatically detach the debugger |
I am able to debug the microservice following the instructions. I got a few issues though:
I issued 'exit' to the current debug session, but didn't kill the process. After 'dlv connect' to the same container, the process is no longer debuggable
If I delete the current attachment, and attach to the container again, the attachment would show as in error.
The text was updated successfully, but these errors were encountered: