2021-10-04 17:14:04 +00:00
|
|
|
{
|
|
|
|
// 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": "Test package",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "test",
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"env": {
|
|
|
|
"MYSQL_TEST": 1,
|
2021-12-30 04:29:18 +00:00
|
|
|
"REDIS_TEST": 1,
|
|
|
|
"NETWORK_TEST": 1
|
2021-10-04 17:14:04 +00:00
|
|
|
},
|
2021-11-24 17:16:42 +00:00
|
|
|
"buildFlags": "-tags='full,fts5'",
|
2021-10-04 17:14:04 +00:00
|
|
|
"program": "${fileDirname}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Test file",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "test",
|
|
|
|
"cwd": "${fileDirname}",
|
|
|
|
"env": {
|
|
|
|
"MYSQL_TEST": 1,
|
2021-12-30 04:29:18 +00:00
|
|
|
"REDIS_TEST": 1,
|
|
|
|
"NETWORK_TEST": 1
|
2021-10-04 17:14:04 +00:00
|
|
|
},
|
2021-11-24 17:16:42 +00:00
|
|
|
"buildFlags": "-tags='full,fts5'",
|
2021-10-04 17:14:04 +00:00
|
|
|
"program": "${file}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Fleet serve",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
2021-11-24 17:16:42 +00:00
|
|
|
"buildFlags": "-tags='full,fts5'",
|
2021-10-04 17:14:04 +00:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"program": "${workspaceFolder}/cmd/fleet",
|
|
|
|
"args": [
|
|
|
|
"serve",
|
2021-11-24 17:16:42 +00:00
|
|
|
"--dev",
|
|
|
|
"--logging_debug"
|
2021-10-04 17:14:04 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Fleet serve (licensed)",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
2021-11-24 17:16:42 +00:00
|
|
|
"buildFlags": "-tags='full,fts5'",
|
2021-10-04 17:14:04 +00:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"program": "${workspaceFolder}/cmd/fleet",
|
|
|
|
"args": [
|
|
|
|
"serve",
|
|
|
|
"--dev",
|
2021-11-24 17:16:42 +00:00
|
|
|
"--logging_debug",
|
2021-10-04 17:14:04 +00:00
|
|
|
"--dev_license"
|
|
|
|
]
|
|
|
|
},
|
2022-05-10 14:51:09 +00:00
|
|
|
{
|
|
|
|
"name": "Attach to a running Fleet server",
|
|
|
|
"type": "go",
|
|
|
|
"request": "attach",
|
|
|
|
"mode": "remote",
|
|
|
|
"port": 61179,
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
},
|
2021-10-04 17:14:04 +00:00
|
|
|
{
|
|
|
|
"type": "pwa-chrome",
|
|
|
|
"name": "Fleet UI (Chrome)",
|
|
|
|
"request": "launch",
|
|
|
|
"url": "https://localhost:8080"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "firefox",
|
|
|
|
"name": "Fleet UI (Firefox)",
|
|
|
|
"request": "launch",
|
|
|
|
"url": "https://localhost:8080",
|
|
|
|
"pathMappings": [
|
|
|
|
{
|
|
|
|
"url": "webpack:///frontend",
|
|
|
|
"path": "${workspaceFolder}/frontend"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|