Skip to content

Update Go.ignore to add Delve compiled output #3530

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

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

Conversation

dvelitchkov
Copy link

Add Go Delve debugger compiled output. Default is "./ __debug_bin" per https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_debug.md#options

Reasons for making this change:

The Go Delve debugger is the de-facto standard Go debugger. Add its default compiled binary to the ignore list.

Links to documentation supporting these rule changes:

https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_debug.md#options

@jollyrogue
Copy link

Is there a way to bump this? I'd like this added too.

@daniellanner
Copy link

+1 I add __debug_bin to every go .gitignore.

@@ -13,3 +13,6 @@

# Dependency directories (remove the comment below to include it)
# vendor/

# Delve debugger compiled binary
/__debug_bin
Copy link

@BananZG BananZG Jul 5, 2023

Choose a reason for hiding this comment

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

Suggested change
/__debug_bin
__debug_bin*

There's a new change to delve to include additional string in output binary file
source: go-delve/delve@84b757a

BananZG added a commit to BananZG/gitignore that referenced this pull request Jul 6, 2023
the other 2 PRs on this are outdated and inactive:
- github#4239
- github#3530
Copy link

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open 😄

@github-actions github-actions bot added the stale label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants