Skip to content

Commit

Permalink
Add VSCode launch configuration for debugging vuln_processing command (
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
iansltx authored Aug 20, 2024
1 parent c6eb839 commit e98410d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e98410d

Please sign in to comment.