Skip to content

Commit 7334edb

Browse files
committed
fix: add missing fields to rdbg DAP schema
1 parent ca92f58 commit 7334edb

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

debug_adapter_schemas/rdbg.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
{
2-
"type": "object",
2+
"required": ["request"],
33
"properties": {
4+
"request": {
5+
"type": "string",
6+
"description": "Type of debug session",
7+
"enum": ["launch", "attach"],
8+
"default": "launch"
9+
},
10+
"script_or_command": {
11+
"type": "string",
12+
"description": "Either a script path or command name (auto-detected)"
13+
},
414
"command": {
515
"type": "string",
616
"description": "Command name (ruby, rake, bin/rails, bundle exec ruby, etc)"
717
},
818
"script": {
919
"type": "string",
10-
"description": "Absolute path to a Ruby file."
20+
"description": "Absolute path to a Ruby file"
1121
},
1222
"cwd": {
1323
"type": "string",
@@ -24,8 +34,9 @@
2434
},
2535
"env": {
2636
"type": "object",
27-
"description": "Additional environment variables to pass to the debugging (and debugged) process",
37+
"description": "Additional environment variables",
2838
"default": {}
2939
}
30-
}
40+
},
41+
"additionalProperties": false
3142
}

0 commit comments

Comments
 (0)