add usdtman

This commit is contained in:
2026-02-03 13:06:26 +08:00
parent d4127b1eba
commit 061c690948
2 changed files with 34 additions and 1 deletions

12
.vscode/launch.json vendored
View File

@@ -12,6 +12,18 @@
"env": { "env": {
"PATH": "/Users/hybro/go/bin:${env:PATH}" "PATH": "/Users/hybro/go/bin:${env:PATH}"
} }
},
{
"name": "Debug USDTMan Server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/servers/usdtman/cmd/server",
"cwd": "${workspaceFolder}/servers/usdtman",
"preLaunchTask": "build usdtman",
"env": {
"PATH": "/Users/hybro/go/bin:${env:PATH}"
}
} }
] ]
} }

23
.vscode/tasks.json vendored
View File

@@ -21,6 +21,27 @@
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} }
} },
{
"label": "build usdtman",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"${workspaceFolder}/servers/usdtman/bin/server",
"./cmd/server"
],
"options": {
"cwd": "${workspaceFolder}/servers/usdtman"
},
"problemMatcher": [
"$go"
],
"group": {
"kind": "build",
"isDefault": true
}
},
] ]
} }