Changes
Page history
Update Debugging
authored
May 14, 2022
by
Malte Bauch
Show whitespace changes
Inline
Side-by-side
Debugging.md
View page @
ae83803e
...
...
@@ -18,3 +18,47 @@ This is an example for visual studio code, located at `.vscode/launch.json`.
]
}
```
And a version with some additional configurations:
```
json
{
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"Attach to Process"
,
"type"
:
"go"
,
"request"
:
"attach"
,
"mode"
:
"local"
,
"processId"
:
0
},
{
"name"
:
"goSDN-Controller"
,
"type"
:
"go"
,
"request"
:
"launch"
,
"mode"
:
"auto"
,
"program"
:
"${workspaceFolder}/controller/cmd/gosdn"
,
"env"
:
{},
"args"
:
[
"--config"
,
"${workspaceFolder}/controller/configs/containerlab-gosdn.toml"
,
]
},
{
"name"
:
"csbi-Orchestrator"
,
"type"
:
"go"
,
"request"
:
"launch"
,
"mode"
:
"auto"
,
"program"
:
"${workspaceFolder}/csbi/cmd/csbi"
,
"env"
:
{},
"args"
:
[
"--config"
,
"${workspaceFolder}/csbi/.csbi.yaml"
,
"--log-level"
,
"debug"
]
}
]
}
```