Skip to content

Commit 4ed5f63

Browse files
committed
Use delve to run the chainlink node
1 parent 7fea48d commit 4ed5f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/components/clnode/clnode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ func newNode(in *Input, pgOut *postgres.Output) (*NodeOut, error) {
221221
ExposedPorts: exposedPorts,
222222
Entrypoint: []string{
223223
"/bin/sh", "-c",
224-
"chainlink -c /config/config -c /config/overrides -c /config/user-overrides -s /config/secrets -s /config/secrets-overrides -s /config/user-secrets-overrides node start -d -p /config/node_password -a /config/apicredentials",
224+
"dlv --listen=0.0.0.0:40000 --headless=true --continue --api-version=2 --accept-multiclient exec /usr/local/bin/chainlink -- -c /config/config -c /config/overrides -c /config/user-overrides -s /config/secrets -s /config/secrets-overrides -s /config/user-secrets-overrides node start -d -p /config/node_password -a /config/apicredentials",
225225
},
226226
WaitingFor: wait.ForHTTP("/").WithPort(DefaultHTTPPort).WithStartupTimeout(2 * time.Minute),
227227
}

0 commit comments

Comments
 (0)