Skip to content

Commit

Permalink
Fix vscode rdbg launch command
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Jan 12, 2024
1 parent 1cbc5be commit cc108fb
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
{
// 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": "Debug dry run",
"name": "Debug Tests",
"type": "rdbg",
"request": "launch",
"script": "${workspaceRoot}/bin/dry-run.rb",
"cwd": "${workspaceRoot}",
"command": "rspec",
"cwd": "${workspaceRoot}/${input:ecosystem}",
"useBundler": true,
"args": [
"${input:package_manager}",
"${input:repository}"
]
"script": "${file}"
},
{
"name": "Debug Tests",
"name": "Debug dry run",
"type": "rdbg",
"request": "launch",
"script": "${workspaceRoot}/omnibus/.bundle/bin/rspec",
"cwd": "${workspaceRoot}/${input:ecosystem}",
"script": "${workspaceRoot}/bin/dry-run.rb",
"cwd": "${workspaceRoot}",
"useBundler": true,
"args": [
"${input:test_path}"
],
"args": ["${input:package_manager}", "${input:repository}"]
},
{
"type": "rdbg",
Expand Down Expand Up @@ -127,13 +119,7 @@
"python",
"terraform"
],
"default": "python"
},
{
"type": "promptString",
"id": "test_path",
"description": "Enter the path of the test(s) to run.",
"default": "spec"
"default": "common"
},
{
"type": "promptString",
Expand Down

0 comments on commit cc108fb

Please sign in to comment.