34 lines
823 B
JSON
34 lines
823 B
JSON
// Project-local debug tasks
|
|
//
|
|
// For more documentation on how to configure debug tasks,
|
|
// see: https://zed.dev/docs/debugger
|
|
[
|
|
{
|
|
"adapter": "Delve",
|
|
"label": "app_dev",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${ZED_WORKTREE_ROOT}/cmd/server/main.go",
|
|
"cwd": "${ZED_WORKTREE_ROOT}",
|
|
"args": ["app", "-e", "dev"]
|
|
},
|
|
{
|
|
"adapter": "Delve",
|
|
"label": "admin_dev",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${ZED_WORKTREE_ROOT}/cmd/server/main.go",
|
|
"cwd": "${ZED_WORKTREE_ROOT}",
|
|
"args": ["admin", "-e", "dev"]
|
|
},
|
|
{
|
|
"adapter": "Delve",
|
|
"label": "cms_dev",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${ZED_WORKTREE_ROOT}/cmd/server/main.go",
|
|
"cwd": "${ZED_WORKTREE_ROOT}",
|
|
"args": ["cms", "-e", "dev"]
|
|
}
|
|
]
|