Skip to content

Commit

Permalink
refactor(agent): change dlv listen to tcp socket instead
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybarreto committed Sep 18, 2024
1 parent d8d715c commit e2edb58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent/.air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ root = "."
tmp_dir = "tmp"

[build]
pre_cmd = ["rm ./tmp/dlv.sock"]
pre_cmd = []
cmd = "go build -tags docker -ldflags \"-X main.AgentVersion=latest\" -gcflags=\"all=-N -l\" -o ./tmp/main ."
post_cmd = []
bin = ""
full_bin = "dlv exec ./tmp/main"
args_bin = [
"--listen unix:./tmp/dlv.sock",
"--listen=0.0.0.0:2345",
"--headless",
"--continue",
"--accept-multiclient",
]
delay = 1000
delay = 500
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
exclude_regex = ["_test.go"]
Expand Down

0 comments on commit e2edb58

Please sign in to comment.