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

feat: Enable debugging the gazelle binary #5816

Merged

Conversation

stevebarrau
Copy link
Contributor

Allow debugging gazelle (use the gazelle_binary target and not the gazelle one).

@github-actions github-actions bot added product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Dec 6, 2023
@blorente
Copy link
Collaborator

blorente commented Dec 6, 2023

LGTM. We checked internally, and it allows you to debug a gazelle target with a custom plugin from your own repository, which is a huge boon to gazelle plugin developers.

FYI, the reason this has to be its own target kind is because gazelle_binary produces a go binary, but it's not a go_binary target itself. It is implemented in its own rule that builds go by hand.

Approving, but it's in such a core place that I'd like @mai93 's opinion.

@blorente blorente merged commit e32e8de into bazelbuild:master Dec 13, 2023
8 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: GoLand GoLand plugin
Projects
Development

Successfully merging this pull request may close these issues.

2 participants