You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contributing.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,9 +201,15 @@ First, being by installing dlv: `go install github.com/go-delve/delve/cmd/dlv@la
201
201
202
202
We'll rely on `deploy/charts/burrito/values-debug.yaml` to deploy the configuration to start the debugging session.
203
203
204
-
By default, the `controller` (that includes the runner) and `datastore` are commented in the Helm values. Indeed, starting the application with dlv server will hang until you connect with the dlv client so it has to be enabled only when you need it.
204
+
By default, the different component debug configs are commented in the Helm values. Indeed, starting the application with dlv server will hang until you connect with the dlv client so it has to be enabled only when you need it.
The runner command+args override isn't under `runner.deployment` as other components as it's not a k8s deployment
234
+
235
+
!!! tip
236
+
You can also launch burrito with the debug build and override command+args in`overrideRunnerSpec`in a specific layer you'd like to debug.
237
+
226
238
By default, we'll start the application with the usual command. If you want to debug the controller or the runner, uncomment the required block. This will open a port on the pod on which you'll connect from your computer.
227
239
228
240
`mode: Debug` is removing liveness and readiness probes: they won't be able to start as dlv will await for you to start the debugging session.
It will listen on the same port than the controller so we're exposing it on port 2346 on your computer so you can debug the controller and the runner if needed.
0 commit comments