Skip to content

Conversation

@wk8
Copy link
Contributor

@wk8 wk8 commented Oct 18, 2018

That's basically just a light wrapper around delve, to make it nicer to use
(stops it after the session is done, and doesn't ignore interrupts like
the vanilla version does).

Also amending the containerized Makefile to add the right run options
when using delve. That's controlled by the DOCKER_SWARMKIT_USE_DELVE
env variable; it's also possible to override the port delve uses
via the DOCKER_SWARMKIT_DELVE_PORT env variable.

@wk8 wk8 force-pushed the wk8/debugging branch 3 times, most recently from 0c656f3 to 966db27 Compare October 18, 2018 17:25
@codecov
Copy link

codecov bot commented Oct 18, 2018

Codecov Report

Merging #2766 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #2766     +/-   ##
=========================================
- Coverage   61.96%   61.87%   -0.1%     
=========================================
  Files         137      134      -3     
  Lines       22050    21876    -174     
=========================================
- Hits        13664    13536    -128     
+ Misses       6911     6883     -28     
+ Partials     1475     1457     -18

@wk8 wk8 force-pushed the wk8/debugging branch 4 times, most recently from 385739c to baab982 Compare October 22, 2018 15:00
@dperny
Copy link
Collaborator

dperny commented Oct 22, 2018

I don't use Delve, so I can't comment on the usefulness, but it LGTM.

@wk8 wk8 force-pushed the wk8/debugging branch 3 times, most recently from 26e0b93 to 20d8cf1 Compare October 31, 2018 22:26
That's basically just a light wrapper around delve, to make it nicer to use
(stops it after the session is done, and doesn't ignore interrupts like
the vanilla version does).

Also amending the containerized Makefile to add the right run options
when using delve. That's controlled by the `DOCKER_SWARMKIT_USE_DELVE`
env variable; it's also possible to override the port delve uses
via the `DOCKER_SWARMKIT_DELVE_PORT` env variable.

Signed-off-by: Jean Rouge <[email protected]>
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.

3 participants