diff --git a/agent/.air.toml b/agent/.air.toml index dd0be824a6b..7fd4d2ed376 100644 --- a/agent/.air.toml +++ b/agent/.air.toml @@ -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"]