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(agent): use air to reloader and dlv as debugger #4094

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

henrybarreto
Copy link
Member

@henrybarreto henrybarreto commented Aug 21, 2024

The Air utility is a more modern, widely used binary loader and well currently maintained, which makes it a better option than the previous one, the Refresh. Another addition is the use of Delve, a Golang debugger, to facilitate the bugging process for the ShellHub Agent in the host environment.

NOTE: This change only affects the development environment.

A good extra could append the substitute-path configuration to the "~/.config/dlv/config.yml" to substitute the reference to the source code inside the container for the host's one.

The Air utility is a more modern, widely used binary loader and well
currently maintained, which makes it a better option than the previous
one, the Refresh. Another addition is the use of Delve, a Golang
debugger, to facilitate the bugging process for the ShellHub Agent in
the host environment.

NOTE: This change only affects the development environment.

A good extra could append the `substitute-path` configuration to the
"~/.config/dlv/config.yml" to substitute the reference to the source
code inside the container for the host's one.
@henrybarreto henrybarreto force-pushed the feature/agent_dlv_air branch from c2f6932 to c0b5c30 Compare August 30, 2024 14:05
@gustavosbarreto gustavosbarreto merged commit e622770 into master Aug 30, 2024
29 checks passed
@gustavosbarreto gustavosbarreto deleted the feature/agent_dlv_air branch August 30, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants