Skip to content

Commit

Permalink
Merge pull request #5353 from snyk/chore/ts-cli-launch-configs-debug
Browse files Browse the repository at this point in the history
chore: add several ts cli launch configs
  • Loading branch information
thisislawatts authored Sep 4, 2024
2 parents cc37b6a + e4e1832 commit 8638d9d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,38 @@
"${workspaceRoot}/node_modules/.bin/jest",
"--runInBand"
]
},
{
"type": "node",
"request": "launch",
"name": "snyk test",
"console": "integratedTerminal",
"program": "node_modules/.bin/ts-node",
"args": ["./src/cli/index.ts", "test"]
},
{
"type": "node",
"request": "launch",
"name": "snyk test --unmanaged",
"console": "integratedTerminal",
"program": "node_modules/.bin/ts-node",
"args": ["./src/cli/index.ts", "test", "--unmanaged"]
},
{
"type": "node",
"request": "launch",
"name": "snyk container test",
"console": "integratedTerminal",
"program": "node_modules/.bin/ts-node",
"args": ["./src/cli/index.ts", "container", "test", "snyk/snyk:linux"]
},
{
"type": "node",
"request": "launch",
"name": "snyk iac test",
"console": "integratedTerminal",
"program": "node_modules/.bin/ts-node",
"args": ["./src/cli/index.ts", "iac", "test", "--unmanaged"]
}
]
}

0 comments on commit 8638d9d

Please sign in to comment.