Changes
Page history
Create Debugging
authored
Dec 15, 2021
by
Andre Sterba
Show whitespace changes
Inline
Side-by-side
Debugging.md
0 → 100644
View page @
59fd9c4e
There is no
`main.go`
as simple entrypoint for the debugger, therefore you have to create a custom debugger config.
This is an example for visual studio code, located at
`.vscode/launch.json`
.
```
json
{
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"Launch"
,
"type"
:
"go"
,
"request"
:
"launch"
,
"mode"
:
"auto"
,
"program"
:
"${workspaceFolder}/cmd/gosdn"
,
"env"
:
{},
"args"
:
[]
}
]
}
```
\ No newline at end of file