Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vscode rdbg launch command #8778

Merged
merged 5 commits into from
Jan 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading