44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
|
|
{
|
||
|
|
// Use IntelliSense to learn about possible attributes.
|
||
|
|
// Hover to view descriptions of existing attributes.
|
||
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||
|
|
"version": "0.2.0",
|
||
|
|
"configurations": [
|
||
|
|
{
|
||
|
|
"name": "Launch Loopback",
|
||
|
|
"type": "go",
|
||
|
|
"request": "launch",
|
||
|
|
"mode": "auto",
|
||
|
|
"program": "${workspaceFolder}/main.go",
|
||
|
|
"args": [
|
||
|
|
"-cmd",
|
||
|
|
"sudo tcpdump -i lo",
|
||
|
|
"-debug"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Launch Loopback -2",
|
||
|
|
"type": "go",
|
||
|
|
"request": "launch",
|
||
|
|
"mode": "auto",
|
||
|
|
"program": "${workspaceFolder}/main.go",
|
||
|
|
"args": [
|
||
|
|
"-cmd",
|
||
|
|
"sudo tcpdump -i lo -w /dev/stdout",
|
||
|
|
"-debug"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "Launch ETH0",
|
||
|
|
"type": "go",
|
||
|
|
"request": "launch",
|
||
|
|
"mode": "auto",
|
||
|
|
"program": "${workspaceFolder}/main.go",
|
||
|
|
"args": [
|
||
|
|
"-cmd",
|
||
|
|
"sudo tcpdump -i eth0",
|
||
|
|
"-debug"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|