Skip to content

Commit

Permalink
.vscode: Add cilium operator debug target
Browse files Browse the repository at this point in the history
This commit adds the debug target for debugging the cilium operator
within a k8s kind cluster.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
  • Loading branch information
mhofstetter authored and joestringer committed Mar 1, 2023
1 parent 2c5e352 commit 189a5c9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,17 @@
"logOutput": "rpc",
"substitutePath": [{"from": "${workspaceFolder}", "to": "/go/src/github.com/cilium/cilium"}],
},
]
{
"name": "Attach to Cilium Operator",
"type": "go",
"request": "attach",
"mode": "remote",
"port":23511,
"host":"127.0.0.1",
"showLog": true,
"trace": "log",
"logOutput": "rpc",
"substitutePath": [{"from": "${workspaceFolder}", "to": "/go/src/github.com/cilium/cilium"}],
}
]
}

0 comments on commit 189a5c9

Please sign in to comment.