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

bridge: in-place debugging using dlv #44

Closed
wants to merge 3 commits into from

Conversation

leoluk
Copy link
Contributor

@leoluk leoluk commented Oct 21, 2020

Stack from ghstack:

Optional support for in-place debugging using an external
IDE debugger. Disabled by default.

The dlv binary is always compiled in the Dockerfile -
this is cheap due to it only depending on go.mod.

Optional support for in-place debugging using an external
IDE debugger. Disabled by default.

The dlv binary is always compiled in the Dockerfile -
this is cheap due to it only depending on go.mod.

[ghstack-poisoned]
@@ -42,7 +42,16 @@ spec:
- name: guardiand
image: guardiand-image
command:
# Uncomment this for in-place debugging using dlv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out? You could always run it with delve and use --continue to not block and wait for a debugger to be attached (for anyone trying to debug right from the start, this could then be commented out)?

Optional support for in-place debugging using an external
IDE debugger. Disabled by default.

The dlv binary is always compiled in the Dockerfile -
this is cheap due to it only depending on go.mod.

[ghstack-poisoned]
Optional support for in-place debugging using an external
IDE debugger. Disabled by default.

The dlv binary is always compiled in the Dockerfile -
this is cheap due to it only depending on go.mod.

[ghstack-poisoned]
@leoluk leoluk closed this in c698d4e Oct 22, 2020
@leoluk leoluk deleted the gh/leoluk/2/head branch October 22, 2020 10:22
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.

None yet

2 participants