Add VSCode launch configuration for debugging vuln_processing command (#21305)
This is an easy way to debug the various vulnerabilities ETLs that we'd normally execute as an in-app cron. I used this over the weekend to test #21242. # Checklist for submitter - [x] Manual QA for all new/changed functionality
This commit is contained in:
Vendored
+15
@@ -61,6 +61,21 @@
|
||||
"--dev_license"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Fleet vuln_processing (licensed)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"buildFlags": "-tags='full,fts5'",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"program": "${workspaceFolder}/cmd/fleet",
|
||||
"args": [
|
||||
"vuln_processing",
|
||||
"--dev",
|
||||
"--logging_debug",
|
||||
"--dev_license",
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Attach to a running Fleet server",
|
||||
"type": "go",
|
||||
|
||||
Reference in New Issue
Block a user