You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
55 lines
1.0 KiB
{
|
|
"folders": [
|
|
{
|
|
"path": "server",
|
|
"name": "backend"
|
|
},
|
|
{
|
|
"path": "web",
|
|
"name": "frontend"
|
|
},
|
|
{
|
|
"path": ".",
|
|
"name": "goadmin"
|
|
}
|
|
],
|
|
"settings": {
|
|
"go.toolsEnvVars": {
|
|
"GOPROXY": "https://goproxy.cn,direct",
|
|
"GONOPROXY": "none;"
|
|
}
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "go",
|
|
"request": "launch",
|
|
"name": "Backend",
|
|
"cwd": "${workspaceFolder:backend}",
|
|
"program": "${workspaceFolder:backend}/"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder:frontend}",
|
|
"name": "Frontend",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"serve"
|
|
]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Both (Backend & Frontend)",
|
|
"configurations": [
|
|
"Backend",
|
|
"Frontend"
|
|
],
|
|
"stopAll": true
|
|
}
|
|
]
|
|
}
|
|
} |