{
"version": "0.2.0",
"configurations": [
{
"name": "Root",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"args": ["--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Scan",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["asset-scan","-r", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Orphan Check",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["asset-orphan", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Process Photos",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["asset-process", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Backup Graph",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["backup", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["server", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
},
"externalConsole": false
},
{
"name": "Add User",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["user-add","--email", "test@example.com", "--username", "tester", "--password", "lame+password", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
{
"name": "Set Password",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"args": ["user-setpass","--username", "tester", "--password", "better+password123", "--config", "settings.yaml"],
"env": {
"CGO_CFLAGS_ALLOW":"-Xpreprocessor"
}
},
]
}